fix:1、修复部分bug

This commit is contained in:
2026-07-02 11:46:24 +08:00
parent af7617c352
commit 63b530f245
22 changed files with 92 additions and 1102 deletions
@@ -1481,6 +1481,7 @@ namespace ChillConnect
}
else
{
ReleaseArrowOccupied(clickArrow);
MoveToDisappear(clickArrow);
}
}
@@ -1865,7 +1866,7 @@ namespace ChillConnect
if (CheckIsOutOfBounds(tailPos, arrow.finalMoveDir))
{
// ========== 以下销毁逻辑和原代码保持一致 ==========
ReleaseArrowOccupied(arrow);
// ReleaseArrowOccupied(arrow);
foreach (var line in arrow.lineUnits)
{
@@ -1973,8 +1974,8 @@ namespace ChillConnect
/// 消除每条线时概率获得奖励
/// </summary>
private void DisappearLineGetReward()
{
{
return;
if (!GameHelper.IsGiftSwitch()) return;
bool isGet = false;
+4 -4
View File
@@ -47,8 +47,8 @@ namespace ChillConnect
if (_config.normal)
{
WebviewManager.Instance.setInH5View(false);
WebviewManager.Instance.ShowH5View(false);
// WebviewManager.Instance.setInH5View(false);
// WebviewManager.Instance.ShowH5View(false);
}
else
{
@@ -73,8 +73,8 @@ namespace ChillConnect
// Debug.Log($"H5UI OpenBefore url: {_config.url} normal: {_config.normal}");
if (_config.normal)
{
WebviewManager.Instance.setInH5View(true);
WebviewManager.Instance.ShowH5View(true);
// WebviewManager.Instance.setInH5View(true);
// WebviewManager.Instance.ShowH5View(true);
}
else
{
@@ -58,7 +58,7 @@ namespace ChillConnect
GameHelper.showGameUI = true;
// WebviewManager.ShezhiACT(true);
WebviewManager.Instance.SetDarkThough(true);
// WebviewManager.Instance.SetDarkThough(true);
gameDispatcher.Dispatch(GameMsg.MakeUpConfirmUIClosed);
@@ -95,7 +95,7 @@ namespace ChillConnect
// DataMgr.Ticket.Value = 999999999; //zhushi
// WebviewManager.ShezhiACT(false);
WebviewManager.Instance.SetDarkThough(false);
// WebviewManager.Instance.SetDarkThough(false);
makeupTaskData = args as MakeupTaskData;
ch_index = makeupTaskData.tableId - 1;
ui.btn_earn.title = GameHelper.getDesByKey("ch_out_1");
@@ -121,7 +121,7 @@ namespace ChillConnect
ui.btn_privacy.SetClick(() => { UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.PrivacyUI_Open, 0); });
ui.btn_terms.SetClick(() => { UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.PrivacyUI_Open, 1); });
ui.btn_official.SetClick(() => { OpenBrowser.OpenURL("http://captainsroll.com/"); });
ui.btn_official.SetClick(() => { Application.OpenURL("http://captainsroll.com/"); });
ui.btn_us.SetClick(() => { GameHelper.OpenEmail(); });
@@ -58,7 +58,7 @@ namespace ChillConnect
HallManager.Instance.UpdateSecondEvent -= upLvWatchAdsBtn;
closeCallback?.Invoke();
// WebviewManager.ShezhiACT(true);
WebviewManager.Instance.SetDarkThough(true);
// WebviewManager.Instance.SetDarkThough(true);
GameDispatcher.Instance.Dispatch(GameMsg.RefreshSaveingPot);
@@ -83,7 +83,7 @@ namespace ChillConnect
}
// WebviewManager.ShezhiACT(false);
WebviewManager.Instance.SetDarkThough(false);
// WebviewManager.Instance.SetDarkThough(false);
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.BuygoldUI_Close);