townengine/apps/templates/lua/data/scripts/game.lua

8 lines
174 B
Lua
Raw Normal View History

-- called every frame, with constant delta time
function game_tick()
2025-02-20 14:25:11 +00:00
-- ctx.udata persists on code reload
if ctx.udata == nil then
ctx.udata = {}
end
end