espelhamento de
https://github.com/sys4-fr/server-nalc.git
sincronizado 2025-10-17 16:15:24 +02:00
fix useless multi reading file(lag?), only read on loading mod
Esse commit está contido em:
@@ -176,10 +176,11 @@ end
|
||||
|
||||
|
||||
-- callbacks
|
||||
|
||||
--[[ --MFF (Crabman) It's useless to read each join player, read only once at load. function moved/called in spawn.lua
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
beds.read_spawns()
|
||||
end)
|
||||
--]]
|
||||
|
||||
|
||||
local dead_players = {}
|
||||
|
@@ -56,3 +56,5 @@ function beds.set_spawns()
|
||||
end
|
||||
beds.save_spawns()
|
||||
end
|
||||
|
||||
beds.read_spawns()
|
||||
|
Referência em uma nova issue
Block a user