Skip to content

Commit

Permalink
Fix double cash register
Browse files Browse the repository at this point in the history
  • Loading branch information
Golen87 committed Aug 18, 2024
1 parent 20f6d5e commit 8253826
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/scenes/GameScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -696,12 +696,11 @@ export class GameScene extends BaseScene {
if (goldBathAvailable && Math.random() < 0.6) {
activities.push(StationType.GoldBath);
}
activities.push(StationType.CashRegister);
return activities;
}

let activities: StationType[] = [];
while (activities.length < 2) {
while (activities.length < 1) {
activities = getActivities();
}

Expand Down

0 comments on commit 8253826

Please sign in to comment.