Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Yeninas <[email protected]>
  • Loading branch information
starfi5h and PhantomGamers authored Mar 23, 2024
1 parent 21d3b80 commit dc77884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NebulaNetwork/SaveManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public static void LoadServerData(bool loadSaveFile)
// Supported revision: 5~8
if (revision is < 5 or > REVISION)
{
throw new Exception($"Unsupport version {revision}");
throw new Exception($"Unsupported version {revision}");
}
}

Expand Down Expand Up @@ -160,7 +160,7 @@ public static void LoadServerData(bool loadSaveFile)
catch (Exception e)
{
playerSaves.Clear();
Log.WarnInform("Skipping server data due to following excpetion:\n" + e.Message);
Log.WarnInform("Skipping server data due to exception:\n" + e.Message);
Log.Warn(e);
return;
}
Expand Down

0 comments on commit dc77884

Please sign in to comment.