Update: CC - Entity Loaded - AR Football 3 (ff0fsum4zx.js) 43 bytes modified
parent
e1826550aa
commit
5ae41e0fc2
|
@ -111,12 +111,11 @@ R3.CustomCode.prototype.render = function(delta) {
|
||||||
this.secondCounter += delta;
|
this.secondCounter += delta;
|
||||||
if (this.secondCounter >= 0.5) {
|
if (this.secondCounter >= 0.5) {
|
||||||
this.secondCounter -= 0.5;
|
this.secondCounter -= 0.5;
|
||||||
console.log(this.totalTime);
|
|
||||||
R3.Event.Emit(
|
R3.Event.Emit(
|
||||||
R3.Event.GAME_DATA,
|
R3.Event.GAME_DATA,
|
||||||
{
|
{
|
||||||
type : 'timer',
|
type : 'timer',
|
||||||
time : Math.round(this.totalTime)
|
time : this.totalTime
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue