pixi-rainman-game-engine 0.3.18 → 0.3.20

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.
@@ -13,7 +13,6 @@ export const RichLimitingSlider = observer(({ value, setValue, maxValue, descrip
13
13
  useEffect(() => {
14
14
  valueRef.current = value;
15
15
  setRawValue(String(value));
16
- console.log("🚀 $$ ~ value:", value);
17
16
  }, [value]);
18
17
  const holdInterval = useRef(null);
19
18
  const isHeldRef = useRef(false);
@@ -34,9 +34,6 @@ export class WinLineIndicator extends Container {
34
34
  if (lastSymbol) {
35
35
  this.text.x = lastSymbol.x + lastSymbol.width + WinLineIndicator.OFFSET;
36
36
  }
37
- else {
38
- this.text.y -= 10;
39
- }
40
37
  this.addChild(...this.symbols, this.text);
41
38
  }
42
39
  }
@@ -357,7 +357,7 @@ export class AbstractController {
357
357
  if (availableFreeSpins > 0) {
358
358
  this._lastWinAmount = this.initData.round_win_amount;
359
359
  }
360
- if (spinLogic.winTotalAmount !== 0) {
360
+ if (spinLogic.winTotalAmount !== 0 && spinLogic.winTotalAmount) {
361
361
  this.uiController.recentWin = ceilToDecimal(spinLogic.winTotalAmount);
362
362
  this.uiController.totalFreeSpinWinAmount = this._lastWinAmount;
363
363
  }
@@ -1212,6 +1212,7 @@ export class AbstractController {
1212
1212
  handleAutoplayLogic() {
1213
1213
  RainMan.globals.shouldShowModals = false;
1214
1214
  RainMan.settingsStore.changeBetChangeDisabled(true);
1215
+ RainMan.settingsStore.closeCurrentlyOpenModal?.();
1215
1216
  if (this.uiController.recentWin === 0) {
1216
1217
  this.autoSpinBalance -= RainMan.settingsStore.bet;
1217
1218
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixi-rainman-game-engine",
3
- "version": "0.3.18",
3
+ "version": "0.3.20",
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",