Using correct JSON token

This commit is contained in:
2016-01-21 17:55:32 +01:00
parent a4fe6995e4
commit 7c793954be
+3 -3
View File
@@ -82,9 +82,9 @@ namespace YJMPD_UWP.Model
foreach(JToken pl in players)
{
string username = o["username"].ToString();
double points = (double)o["points"];
double pointstotal = (double)o["pointstotal"];
string username = pl["username"].ToString();
double points = (double)pl["points"];
double pointstotal = (double)pl["pointstotal"];
App.Game.UpdatePlayer(username, pointstotal, points);
}