Always play the get-chip sound
This commit is contained in:
parent
f788f7a892
commit
c162445627
@ -2174,8 +2174,8 @@ export class Level extends LevelInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
collect_chip() {
|
collect_chip() {
|
||||||
if (this.chips_remaining > 0) {
|
|
||||||
this.sfx.play_once('get-chip');
|
this.sfx.play_once('get-chip');
|
||||||
|
if (this.chips_remaining > 0) {
|
||||||
this.chips_remaining--;
|
this.chips_remaining--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user