remove repeated ga call

This commit is contained in:
Gabriele Cirulli
2014-03-10 19:40:44 +01:00
parent 7f99ed8316
commit 62a314ad72
-2
View File
@@ -106,8 +106,6 @@ HTMLActuator.prototype.updateScore = function (score) {
};
HTMLActuator.prototype.message = function (won) {
if (ga) ga("send", "event", "game", "end", type, this.score);
var type = won ? "game-won" : "game-over";
var message = won ? "You win!" : "Game over!"