Skip to content

Commit

Permalink
fixed random milky bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
NightLightLumie committed Aug 20, 2024
1 parent 89850e5 commit 3724b53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/ItemHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class ItemHandler {
ct.happinessBonus -= 2.125;
ct.maxHappiness = 4.01;
ct.tipMultiplier*=0.25;
//ct.queueFail = true;
ct.queueFail();
return;
} else {
ct.happinessBonus += 0.5;
Expand Down
8 changes: 4 additions & 4 deletions src/scenes/GameScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,10 @@ export class GameScene extends BaseScene {
if (!this.viewedShopTutorial) {
this.beginShopTutorial(0);
return;
}
} else {
if(this.shopinventory.isOpen){
this.toggleShop();
} else {
if(this.shopinventory.isOpen){
this.toggleShop();
}
}
}
this.setState(GameState.Day);
Expand Down

0 comments on commit 3724b53

Please sign in to comment.