diff --git a/love/mike/lib/keys.lua b/love/mike/lib/keys.lua index 162de4a..0f10ffa 100644 --- a/love/mike/lib/keys.lua +++ b/love/mike/lib/keys.lua @@ -14,7 +14,6 @@ function love.keyreleased(key) -- save elseif key == SAVE_KEY then - --love.filesystem.write(saveFile, Tserial.pack(player, false, true)) love.filesystem.write(SAVE_FILE, GameState.save(actors, "actors")) -- Load @@ -23,7 +22,6 @@ function love.keyreleased(key) save_exists = love.filesystem.exists(SAVE_FILE) if save_exists then - --player = Tserial.unpack( love.filesystem.read( saveFile ) ) actors = GameState.load(SAVE_FILE) -- Tell the timer to ignore time passed between the save and the load actors.start = love.timer.getTime() - actors.end_timer