Skip to content

Commit

Permalink
Remove total game time... not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
nightblade9 committed Nov 22, 2024
1 parent c84cc28 commit 5e3d5c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion source/TextBlade.Core/IO/SaveData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ public struct SaveData
public List<Character> Party { get; set; }
public GameSwitches Switches { get; set; }
public int Gold { get; set; }
public int TotalGameTimeSeconds { get; set; }
public string CurrentLocationId { get; set; }
public Inventory Inventory { get; set; }

Expand Down
4 changes: 1 addition & 3 deletions source/TextBlade.Core/IO/SaveGameManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ public static void SaveGame(string saveSlot, string currentLocationId, List<Char
CurrentLocationId = currentLocationId,
LocationSpecificData = locationSpecificData,
Inventory = inventory,

Gold = 0,
TotalGameTimeSeconds = 0,
Gold = 0, // TODO: NEED. GOLD.
};

var serialized = JsonConvert.SerializeObject(saveData);
Expand Down

0 comments on commit 5e3d5c2

Please sign in to comment.