Skip to content

Instantly share code, notes, and snippets.

@yasyf
Created March 22, 2017 05:03
Show Gist options
  • Save yasyf/2ffbbd588a02a48a06fcb3758b0acf2a to your computer and use it in GitHub Desktop.
Save yasyf/2ffbbd588a02a48a06fcb3758b0acf2a to your computer and use it in GitHub Desktop.
diff --git a/Assets/Scripts/NetworkController.cs b/Assets/Scripts/NetworkController.cs
index dcc18a4..51b2567 100644
--- a/Assets/Scripts/NetworkController.cs
+++ b/Assets/Scripts/NetworkController.cs
@@ -119,6 +119,7 @@ public class NetworkController : MonoBehaviour
private void applyPatch (string patch)
{
+ Debug.Log ("About to apply: " + patch);
JsonUtility.FromJsonOverwrite (patch, gameState);
// Debug.Log ("Applied: " + patch);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment