From 69f0824a6110b779eeed90028729fb67daa96404 Mon Sep 17 00:00:00 2001 From: TJH Date: Wed, 3 Dec 2025 09:48:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=8D=E8=B4=B9=E8=B5=A0=E9=80=81=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E6=97=B6=E5=BC=B9=E7=AA=97=E4=BF=AE=E6=94=B9=EF=BC=8C?= =?UTF-8?q?=E5=85=8D=E8=B4=B9=E6=AC=A1=E6=95=B0=E9=99=8D=E4=BD=8E=E6=97=B6?= =?UTF-8?q?=E6=9C=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Game/scripts/SlotScene.ts | 15 +++++++-------- assets/Loading/scripts/comm.ts | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/assets/Game/scripts/SlotScene.ts b/assets/Game/scripts/SlotScene.ts index 22a5ec7..db72bbb 100644 --- a/assets/Game/scripts/SlotScene.ts +++ b/assets/Game/scripts/SlotScene.ts @@ -228,13 +228,7 @@ export class SlotScene extends Component { // 如果有frb就不会扣除金额 let frb = GameDataManager.instance.frb; if (frb && frb.Ongoing != null) { - if (!isFreeSpin) { - let count = frb.Ongoing.Frn - 1; - if (count <= 0) { - count = 0; - } - this.SysGift.handleSysInfoFreeCount(count); - } + } else { if (!isFreeSpin) { if (!isFeatureBuy) { @@ -268,6 +262,11 @@ export class SlotScene extends Component { } GameDataManager.instance.frb = this.spinInfo.Frb; + let count = frb.Ongoing.Frn - 1; + if (count <= 0) { + count = 0; + } + this.SysGift.handleSysInfoFreeCount(count); // if (frb?.Ongoing?.Frn - 1 != GameDataManager.instance.frb?.Ongoing?.Frn) { // this.SysGift.handleSysInfoFreeCount(this.spinInfo.Frb.Ongoing.Frn); // } @@ -845,7 +844,7 @@ export class SlotScene extends Component { msg2 = I18nManager.instance.t('AID_ERROR_CODE_4'); tip = `${msg1}\n${msg2}`; if (!this.TipPanel.getHasTip()) { - this.TipPanel.showTip(title, tip, () => { window.close() }, null, I18nManager.instance.t('AID_ERROR_QUIT_BUTTON'), I18nManager.instance.t('AID_ERROR_RETRY_BUTTON'), true); + this.TipPanel.showTip(title, tip, () => { window.close() }, null, I18nManager.instance.t('AID_ERROR_QUIT_BUTTON'), null, false); } break; case 5: diff --git a/assets/Loading/scripts/comm.ts b/assets/Loading/scripts/comm.ts index eaf6683..132b082 100644 --- a/assets/Loading/scripts/comm.ts +++ b/assets/Loading/scripts/comm.ts @@ -9,7 +9,7 @@ const qs = new URLSearchParams(location.search) // let apiaddr = "https://rpgames-api.rpfafafahkdev.com"; let apiaddr = ""; -let token = "eyJQIjoxMDA5NDksIkUiOjE3NjI2MTEwMjYsIlMiOjEwMDUsIkQiOiJycF8xMDAxMiJ9.hMuz6Kp_788703hWLLIknQsFhdCu7dJLWbEizfJi0Zg"; +let token = "eyJQIjoxMDA5NDksIkUiOjE3NjQ3Njk0MjAsIlMiOjk5NiwiRCI6InJwXzEwMDEyIn0.DhDHrfx7WNRBG6D0f5eevBqXg4GubW7_XlxIFUG5L6s"; let language = "en" let currency = "THB" let isfrom = null