diff --git a/assets/Game/scripts/SlotScene.ts b/assets/Game/scripts/SlotScene.ts index ad4781c..34417b6 100644 --- a/assets/Game/scripts/SlotScene.ts +++ b/assets/Game/scripts/SlotScene.ts @@ -297,7 +297,7 @@ export class SlotScene extends Component { } if (this.slotBar.getBalance() < (isFeatureBuy ? this.slotBar.getBet() * this.gameInfo.BuyMul : this.slotBar.getBet()) && !isFreeSpin && !GameDataManager.instance.frb.Ongoing) { //余额不足不经过服务器,在客户端拦截 - this.showErrorTip(2, ""); + this.showErrorTip(2, () => { this.slotBar.onClickBalance() }); this.handleErrSpin(); return } @@ -954,7 +954,7 @@ export class SlotScene extends Component { this.TipPanel.showTip( title, tip, - null, + callback, null, I18nManager.instance.t("AID_ERROR_OK_BUTTON"), null, diff --git a/assets/Loading/game.scene b/assets/Loading/game.scene index db72553..b5b8467 100644 --- a/assets/Loading/game.scene +++ b/assets/Loading/game.scene @@ -105,7 +105,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 540, - "y": 960, + "y": 959.9999999999999, "z": 0 }, "_lrot": { @@ -190,7 +190,7 @@ "_priority": 0, "_fov": 45, "_fovAxis": 0, - "_orthoHeight": 960, + "_orthoHeight": 959.9999999999999, "_near": 0, "_far": 2000, "_color": { @@ -2342,7 +2342,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1920 + "height": 1919.9999999999998 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2442,7 +2442,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1920 + "height": 1919.9999999999998 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2494,7 +2494,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1920 + "height": 1919.9999999999998 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3070,7 +3070,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1920 + "height": 1919.9999999999998 }, "_anchorPoint": { "__type__": "cc.Vec2", diff --git a/assets/Loading/scripts/comm.ts b/assets/Loading/scripts/comm.ts index 249b696..564a204 100644 --- a/assets/Loading/scripts/comm.ts +++ b/assets/Loading/scripts/comm.ts @@ -7,7 +7,7 @@ import { PREVIEW } from "cc/env" const gameId = "rp_11001"; // let apiaddr = "https://rpgames-api.rpfafafahkdev.com"; let apiaddr = ""; -let token = "eyJQIjoxMDA5NDksIkUiOjE3ODA5NDMxOTgsIlMiOjEwMDUsIkQiOiJycF8xMTAwMSJ9.w5qJQBglbAHpEedbpdt-XRMZjG4mxAz79ov8CuOU-GQ"; +let token = "eyJQIjoxMDAwMDEsIkUiOjE3ODExMTY3MjUsIlMiOjEwMDMsIkQiOiJycF8xMTAwMSJ9.RlUvhgdSk7EljKfAHUreLckvUQQ43PGQrtvgeDIk1Bg"; let language = "en" let currency = "THB"