Skip to content

Commit

Permalink
Update Player.cs
Browse files Browse the repository at this point in the history
Fix null beatmap difficulties
  • Loading branch information
cubicgraphics authored May 6, 2024
1 parent de4d88a commit 42d3c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BeatTogether.DedicatedServer.Kernel/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void SetEntitlement(string levelId, EntitlementStatus entitlement)
public bool UpdateEntitlement { get; set; } = false;

public string MapHash { get; set; } = string.Empty;
public Dictionary<uint, string[]> BeatmapDifficultiesRequirements { get; set; }
public Dictionary<uint, string[]> BeatmapDifficultiesRequirements { get; set; } = new();

public long TicksAtLastSyncStateDelta { get; set; } = 0; //33ms gaps for 30/sec, 66ms gap for 15/sec
public long TicksAtLastSyncState { get; set; } = 0;
Expand Down

0 comments on commit 42d3c24

Please sign in to comment.