Skip to content

Commit

Permalink
Fix error on round progress check
Browse files Browse the repository at this point in the history
  • Loading branch information
PintTheDragon committed Jan 25, 2023
1 parent 3ddf9c6 commit f4ac2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCPStats/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ internal static PlayerInfo GetFootprintInfo(Footprint f, bool tutorial = true, b
return new PlayerInfo(null, f.Role, true);
}

internal static bool IsRoundRunning() => !EventHandler.PauseRound && RoundSummary.RoundInProgress();
internal static bool IsRoundRunning() => !EventHandler.PauseRound && !(ReferenceHub.LocalHub is null) && RoundSummary.RoundInProgress();

internal static string HmacSha256Digest(string secret, string message)
{
Expand Down

0 comments on commit f4ac2fd

Please sign in to comment.