Add: add time bonus if all meat was welldone

This commit is contained in:
2018-11-02 10:46:12 +09:00
parent 1c42c88f2f
commit 5e12109e40
3 changed files with 22 additions and 2 deletions
+3
View File
@@ -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);