diff --git a/a2ow5l92js.js b/a2ow5l92js.js index abee046..1e051ac 100644 --- a/a2ow5l92js.js +++ b/a2ow5l92js.js @@ -769,11 +769,21 @@ GameLib.Event.Emit( } ); +//console.log('used : ' + Math.round(used * 100) + '%'); + if (this.kanisterTime > this.kanisterLife) { this.kanisterTime = 0; this.kanisters -= 1; + GameLib.Event.Emit( + GameLib.Event.GAME_DATA, + { + event : 'kanisterCountUpdate', + kanisters : this.kanisters + } + ); + if (kanisters < 0) { GameLib.Event.Emit( GameLib.Event.GAME_OVER,