mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 06:59:03 +02:00
Decrease number of fireworks on high score
This commit is contained in:
parent
8056498f39
commit
de69b2298b
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ Baseball.prototype = {
|
||||||
print("PLAYING SHOW")
|
print("PLAYING SHOW")
|
||||||
var numberOfFireworks = Math.floor(this.distanceTraveled / 100);
|
var numberOfFireworks = Math.floor(this.distanceTraveled / 100);
|
||||||
if (this.wasHighScore) {
|
if (this.wasHighScore) {
|
||||||
numberOfFireworks = 30;
|
numberOfFireworks = 20;
|
||||||
}
|
}
|
||||||
playFireworkShow(numberOfFireworks, 2000);
|
playFireworkShow(numberOfFireworks, 2000);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue