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]); } };