fix: play casino win sound on successful bingo mark
- Replace `playChipBet` with `playSound(this, SFX.CASINO_WIN)` - Provides appropriate audio feedback when a human player successfully marks a square
This commit is contained in:
parent
e1f7534853
commit
3022e0eb23
|
|
@ -288,7 +288,7 @@ export default class BingoGame extends Phaser.Scene {
|
||||||
const before = this.gs;
|
const before = this.gs;
|
||||||
this.gs = markHumanSquare(this.gs, col, row);
|
this.gs = markHumanSquare(this.gs, col, row);
|
||||||
if (this.gs === before) return;
|
if (this.gs === before) return;
|
||||||
playChipBet(this);
|
playSound(this, SFX.CASINO_WIN);
|
||||||
this.gs = recomputeEligibility(this.gs);
|
this.gs = recomputeEligibility(this.gs);
|
||||||
this.refreshHumanMarkable();
|
this.refreshHumanMarkable();
|
||||||
this.refreshClaimButton();
|
this.refreshClaimButton();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue