townengine/apps/templates/lua/data/scripts/game.lua
2025-02-20 17:25:11 +03:00

8 lines
174 B
Lua

-- called every frame, with constant delta time
function game_tick()
-- ctx.udata persists on code reload
if ctx.udata == nil then
ctx.udata = {}
end
end