pixi-rainman-game-engine 0.3.18 → 0.3.19

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);
@@ -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
  }
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.19",
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",