Skip to content

Commit

Permalink
Create tagged save before entering gate
Browse files Browse the repository at this point in the history
To help diagnose future instances of negative time bug
  • Loading branch information
Toby222 committed Jan 7, 2025
1 parent 815aad1 commit af00cee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ SharkGame.Gateway = {
},

enterGate(loadingFromSave) {
// To help diagnose negative time bug
// Can remove if/when that gets fixed
SharkGame.Save.createTaggedSave("preGateway");
SharkGame.PaneHandler.wipeStack();

SharkGame.OverlayHandler.enterGateway();
Expand Down

0 comments on commit af00cee

Please sign in to comment.