Skip to content

Commit

Permalink
Fix nullreferenceexception
Browse files Browse the repository at this point in the history
  • Loading branch information
caden-maxwell committed Mar 31, 2024
1 parent 20bc188 commit 91c2e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shared/Systems/GameScoresPersistence.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class GameScoresPersistence
{
private bool saving = false;
private bool loading = false;
private GameScores m_loadedState = null;
private GameScores m_loadedState = new GameScores();


public void SaveScores(GameScores gameScores)
Expand Down

0 comments on commit 91c2e8a

Please sign in to comment.