Add: add time bonus if all meat was welldone
This commit is contained in:
1 parent
1c42c88f2f
commit
5e12109e40
3 files changed
+22
-2
No files matched your search
@@ -82,6 +82,9 @@ StageTimer.prototype.addTime = function(timeSec) {
|
||||
}
|
||||
|
||||
StageTimer.prototype.addBonusTime = function(timeSec) {
|
||||
if(timeSec == 0)
|
||||
return;
|
||||
|
||||
this.addTime(timeSec);
|
||||
|
||||
game.world.bringToTop(this.bonusTimeText);
|
||||
|
||||
Reference in new issue
Block a user