Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Commit

Permalink
Fixed Stats bug
Browse files Browse the repository at this point in the history
Seriously, how did this not break before
  • Loading branch information
Sammy Sammon committed Dec 12, 2016
1 parent a88cbce commit 3ebaae3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Stats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ public StatsStream()

private void ParseStats(string data)
{
if (data.Trim() == "")
return;
DataContractJsonSerializer s = new DataContractJsonSerializer(typeof(Stats));
using (var stream = new MemoryStream(Encoding.UTF8.GetBytes(data)))
{
Expand Down

0 comments on commit 3ebaae3

Please sign in to comment.