Wait for the factions file to fully load.

This commit is contained in:
Coder12a 2018-10-28 22:48:29 -05:00
parent 79d38d4210
commit 2d63b64cd3
2 changed files with 5 additions and 5 deletions

View File

@ -1109,7 +1109,4 @@ end
function factionUpdate()
factions.faction_tick()
minetest.after(factions_config.tick_time,factionUpdate)
end
minetest.after(1,hudUpdateClaimInfo)
minetest.after(1,factionUpdate)
end

View File

@ -10,4 +10,7 @@ dofile (factions_modpath .. "/chatcommands.lua")
dofile (factions_modpath .. "/nodes.lua")
factions.load()
misc_mod_data.check_file()
misc_mod_data.check_file()
minetest.after(1,hudUpdateClaimInfo)
minetest.after(1,factionUpdate)