Add: add time bonus if all meat was welldone

This commit is contained in:
jisangs committed 2018-11-02 10:46:12 +09:00
1 parent 1c42c88f2f
commit 5e12109e40
3 files changed
+22 -2

No files matched your search

+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);