Update: CC - Entity Loaded - AR Football 3 (ff0fsum4zx.js) 181 bytes modified
parent
5ae41e0fc2
commit
d4d481c033
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue