From d4d481c03368a3d0971f0a7df94ea0f6d58bb472 Mon Sep 17 00:00:00 2001 From: Theunis Johannes Botha Date: Mon, 28 May 2018 10:55:29 +0200 Subject: [PATCH] Update: CC - Entity Loaded - AR Football 3 (ff0fsum4zx.js) 181 bytes modified --- ff0fsum4zx.js | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/ff0fsum4zx.js b/ff0fsum4zx.js index c9561cf..1aa4c52 100644 --- a/ff0fsum4zx.js +++ b/ff0fsum4zx.js @@ -108,17 +108,13 @@ R3.CustomCode.prototype.render = function(delta) { this.totalTime -= delta; - this.secondCounter += delta; - if (this.secondCounter >= 0.5) { - this.secondCounter -= 0.5; - R3.Event.Emit( - R3.Event.GAME_DATA, - { - type : 'timer', - time : this.totalTime - } - ) - } + R3.Event.Emit( + R3.Event.GAME_DATA, + { + type : 'timer', + time : this.totalTime + } + ) if (this.totalTime <= 0) {