Trying more

This commit is contained in:
Falkvinge
2017-03-16 10:00:38 +01:00
parent 30f7a62c6e
commit 5258988ad8
2 changed files with 10 additions and 3 deletions
+5
View File
@@ -231,6 +231,11 @@ namespace Swarmops.Frontend.Socket
malfunctionsArray.Add(malfunctionObject);
}
if (++_malfunctionTestCounter > 4)
{
_malfunctionTestCounter = 0;
}
JObject data2 = new JObject();
data2["MessageType"] = "Malfunctions";
data2["MalfunctionsList"] = malfunctionsArray.ToString();