Various persistent state things

master
John 2022-06-15 10:26:28 -04:00
parent e4b18eaa85
commit 4aa0bd2022
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ public class GamePanel extends JPanel implements Runnable, KeyListener, Serializ
playerFrameCounter -= 5; playerFrameCounter -= 5;
// if the player has moved enough to justify a frame change, a new save will also be made // if the player has moved enough to justify a frame change, a new save will also be made
try { try {
FileManager.writeObjectToFile("local/game_state", this); FileManager.writeObjectToFile("local/game_state", new ArrayList()); // this is placeholder, replace with this
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }