diff --git a/game/special/mainmenu/class/Game.lua b/game/special/mainmenu/class/Game.lua index 760514c33e1e2afd7b62ad57fa2568429647987f..997f87ba1974164602d7ea116e54a6cabeb61064 100644 --- a/game/special/mainmenu/class/Game.lua +++ b/game/special/mainmenu/class/Game.lua @@ -45,6 +45,10 @@ function _M:run() self:setCurrent() end +function _M:tick() + return true +end + function _M:display() if self.background then local bw, bh = self.background:getSize() diff --git a/src/main.c b/src/main.c index 63a060a133963998a8f0b31bcfc4b324e4850828..58d3706c10e8529ef287ce034baf567526ff75c6 100644 --- a/src/main.c +++ b/src/main.c @@ -528,7 +528,6 @@ int main(int argc, char *argv[]) while (!exit_engine) { if (!isActive || tickPaused) SDL_WaitEvent(NULL); -// else if (tickPaused) SDL_Delay(1000 / 30); /* handle the events in the queue */ while (SDL_PollEvent(&event))