diff --git a/includes/LICENSE b/includes/LICENSE index e96386b..e827e9d 100644 --- a/includes/LICENSE +++ b/includes/LICENSE @@ -5,6 +5,7 @@ RGB uses the following libraries: - HUMP Gamestate, Copyright (c) 2010-2013 Matthias Richter - GameJolt.lua, Copyright (c) 2015 insweater - inifile, Copyright (c) 2011-2015 Bart van Strien +- Ser, Copyright (c) 2011,2013 Robin Wellner All of these libraries and RGB itself are licensed under the MIT License: diff --git a/src/gamestates/game.lua b/src/gamestates/game.lua index 7d3f0fd..f95b99b 100644 --- a/src/gamestates/game.lua +++ b/src/gamestates/game.lua @@ -86,10 +86,12 @@ end function game:resume(previous, action) if action == "LOST" then + log("Game restarted.") game:enter(previousState) --we want to keep the old values totalScore = 0 --this should have happened in game:leave() but does not for an unknown reason end if action == "UNPAUSED" then + log("Game resumed.") love.graphics.setNewFont(28) -- fix our font! end end @@ -115,6 +117,7 @@ function game:update(dt) end end if won then + log("Level beat!") -- TODO we need a brief push/pop of gamestate to display a winning message nextLevel() end