diff --git a/mods/main/script/game.lua b/mods/main/script/game.lua index 6a48f75..04ac1b7 100644 --- a/mods/main/script/game.lua +++ b/mods/main/script/game.lua @@ -163,7 +163,7 @@ local frameSec = 0 local lastSec = 0 function trackFps() frameSec = frameSec + 1 - t = engine_time_get() + local t = engine_time_get() if t - lastSec >= 1000 then framerate = frameSec lastSec = t