Update: CC - Before Render - Moorcow (a2ow5l92js.js) 17 bytes modified
parent
4a59c1d2c3
commit
7b65240854
|
@ -757,12 +757,15 @@ else
|
|||
this.throwerLight.updateInstance('intensity');
|
||||
}
|
||||
|
||||
var used = this.kanisterTime / this.kanisterLife;
|
||||
|
||||
GameLib.Event.Emit(
|
||||
GameLib.Event.GAME_DATA,
|
||||
{
|
||||
used : this.kanisterTime / this.kanisterLife,
|
||||
event : 'fuelUsed',
|
||||
percentage : Math.round((this.kanisterTime / this.kanisterLife) * 100) + '%'
|
||||
used : used,
|
||||
percentage : Math.round(used * 100) + '%',
|
||||
kanisters : this.kanisters
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue