Skip to content

Commit

Permalink
[PvPLeaderboard] Fixed a variable name that wasn't properly updated a…
Browse files Browse the repository at this point in the history
…fter copy-pasting it from somewhere else
  • Loading branch information
WhiteFang5 committed Aug 6, 2022
1 parent d7501d2 commit 746d8bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PvPLeaderboard/Systems/PvPLeaderboardSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static class PvPLeaderboardSystem
{
#region Consts

private const string PvPPunishmentFileName = "PvPLeaderboard.json";
private const string PvPLeaderboardFileName = "PvPLeaderboard.json";

#endregion

Expand All @@ -34,7 +34,7 @@ public static class PvPLeaderboardSystem

public static void Initialize()
{
_pvpStats = VModStorage.Load(PvPPunishmentFileName, () => new Dictionary<ulong, PvPStats>());
_pvpStats = VModStorage.Load(PvPLeaderboardFileName, () => new Dictionary<ulong, PvPStats>());

VModStorage.SaveEvent += Save;
VampireDownedHook.VampireDownedEvent += OnVampireDowned;
Expand All @@ -48,7 +48,7 @@ public static void Deinitialize()

public static void Save()
{
VModStorage.Save(PvPPunishmentFileName, _pvpStats);
VModStorage.Save(PvPLeaderboardFileName, _pvpStats);
}

#endregion
Expand Down

0 comments on commit 746d8bb

Please sign in to comment.