quack2/data/scripts/game.lua

9 lines
264 B
Lua
Raw Normal View History

2025-02-13 19:19:52 +00:00
-- called every frame, with constant delta time
function game_tick()
-- ctx.initialization_needed is true first frame and every time dynamic reload is performed
if ctx.initialization_needed then
-- ctx.udata persists on reload
ctx.udata = {}
end
end