Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e7a98546f2 | ||
|
|
b7ca56c99c |
@@ -58,6 +58,7 @@ export function updatePerks(game, containerHeight, deltaTime) {
|
||||
ball.increaseSpeed(-1 * PERK_BALL_SPEED_DECREASE);
|
||||
}
|
||||
}
|
||||
// ponytail: wall-clock timer, game never pauses so no need to tie to deltaTime
|
||||
setTimeout(() => {
|
||||
for (const ball of game.balls) {
|
||||
ball.increaseSpeed(PERK_BALL_SPEED_DECREASE);
|
||||
|
||||
Reference in New Issue
Block a user