X-Git-Url: http://git.purplebirdman.com/lightcycles-love.git/blobdiff_plain/a32b179f4401624b1f9404bb31bf9c547641da14..be5bdee30fbc4a013e7fd893548433670a5b908d:/main.lua diff --git a/main.lua b/main.lua index a0d0ca7..69591dd 100644 --- a/main.lua +++ b/main.lua @@ -14,7 +14,9 @@ function love.update(dt) if love.keyboard.isDown('escape') then love.event.quit() end - scene:update(dt) + if not scene.paused then + scene:update(dt) + end end function love.quit()