forked from mtcontrib/factions
Wait for the factions file to fully load.
This commit is contained in:
parent
79d38d4210
commit
2d63b64cd3
@ -1109,7 +1109,4 @@ end
|
|||||||
function factionUpdate()
|
function factionUpdate()
|
||||||
factions.faction_tick()
|
factions.faction_tick()
|
||||||
minetest.after(factions_config.tick_time,factionUpdate)
|
minetest.after(factions_config.tick_time,factionUpdate)
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.after(1,hudUpdateClaimInfo)
|
|
||||||
minetest.after(1,factionUpdate)
|
|
5
init.lua
5
init.lua
@ -10,4 +10,7 @@ dofile (factions_modpath .. "/chatcommands.lua")
|
|||||||
dofile (factions_modpath .. "/nodes.lua")
|
dofile (factions_modpath .. "/nodes.lua")
|
||||||
|
|
||||||
factions.load()
|
factions.load()
|
||||||
misc_mod_data.check_file()
|
misc_mod_data.check_file()
|
||||||
|
|
||||||
|
minetest.after(1,hudUpdateClaimInfo)
|
||||||
|
minetest.after(1,factionUpdate)
|
Loading…
Reference in New Issue
Block a user