From cf4bc21becfef88b68ae06da0186dc6500fd0ba1 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sat, 26 Apr 2014 00:41:12 -0400 Subject: [PATCH] Fix message queuing brain-o --- static/debug-unity.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/debug-unity.html b/static/debug-unity.html index d1680dd..52f1b04 100644 --- a/static/debug-unity.html +++ b/static/debug-unity.html @@ -21,7 +21,7 @@ var sendUnityMessage = function(funcName, msg) { if (gameObject && gameModuleName) { gameObject.SendMessage(gameModuleName, funcName, msg); } else { - messageQueue.shift([funcName, msg]); + messageQueue.push([funcName, msg]); } };