Skip to content

Commit

Permalink
Hopefully fix spamming
Browse files Browse the repository at this point in the history
  • Loading branch information
PintTheDragon committed Oct 30, 2020
1 parent 9755413 commit 0ca6fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCPStats/EventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private static async Task CreateConnection(int delay = 0)

ws.OnMessage += (sender, e) =>
{
if (!e.IsText) return;
if (!e.IsText || !ws.IsAlive) return;
#if DEBUG
Log.Info(e.Data);
#endif
Expand Down

0 comments on commit 0ca6fd8

Please sign in to comment.