mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-16 23:25:28 +01:00
Updated beds' mod to hide warning messages
- Global variable `writing` removed - License update
This commit is contained in:
@@ -41,13 +41,11 @@ function beds.save_spawns()
|
||||
if not beds.spawn then
|
||||
return
|
||||
end
|
||||
writing = true
|
||||
local output = io.open(org_file, "w")
|
||||
for i, v in pairs(beds.spawn) do
|
||||
output:write(v.x.." "..v.y.." "..v.z.." "..i.."\n")
|
||||
end
|
||||
io.close(output)
|
||||
writing = false
|
||||
end
|
||||
|
||||
function beds.set_spawns()
|
||||
|
||||
Reference in New Issue
Block a user