Love:Mike: Removed dead code

This commit is contained in:
Logen Kain 2017-08-10 10:16:46 -07:00
parent e5ef06f61a
commit 61323d7658

View File

@ -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