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);
|
|
@@ -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