pixi-rainman-game-engine 0.1.32 → 0.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -680,9 +680,10 @@ export class AbstractController {
680
680
  this.frame.stopPlayingWinLineAnimations();
681
681
  }
682
682
  async countBigWin(customAmount) {
683
+ if (RainMan.config.disableBigWinOnBonus)
684
+ return;
683
685
  if (this.uiController.recentWin <= RainMan.config.constants.bigWinMultiplier * RainMan.settingsStore.bet &&
684
- !customAmount &&
685
- RainMan.config.disableBigWinOnBonus)
686
+ !customAmount)
686
687
  return;
687
688
  const amount = customAmount || this.uiController.recentWin;
688
689
  this.mainContainer.invokeBigWin();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixi-rainman-game-engine",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "This repository contains all of the mechanics that used in rainman games.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",