Neue Minute angebrochen
function newMinute()
if Vars.Save8 ~= Game.Time() then
Vars.Save8 = Game.Time()
return 1
else
return 0
end
endfunction gameloop()
if newMinute() == 1 then
doEveryMinuteTask()
end
end
function new_game()
request_event(gameloop, Events.FIVE_TICKS)
end
function register_functions()
reg_func(gameloop)
endLast updated