From 8bc50c9be2aafc8eeaf9b04870740056c2c1947c Mon Sep 17 00:00:00 2001 From: HaeinLEE Date: Fri, 28 Mar 2025 13:34:01 +0900 Subject: [PATCH] =?UTF-8?q?[Style]=20=EB=A1=9C=EB=94=A9=ED=8C=A8=EB=84=90?= =?UTF-8?q?=20GameLogic=EC=97=90=EC=84=9C=20=ED=98=B8=EC=B6=9C=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/GameUIController.cs | 1 - Assets/Script/Game/GameLogic.cs | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Assets/GameUIController.cs b/Assets/GameUIController.cs index 07054f7..2416a24 100644 --- a/Assets/GameUIController.cs +++ b/Assets/GameUIController.cs @@ -52,7 +52,6 @@ public class GameUIController : MonoBehaviour { GameManager.Instance.panelManager.OpenConfirmPanel("무승부 신청을 하시겠습니까?", () => { - GameManager.Instance.panelManager.OpenLoadingPanel(true, true, false, false); _multiplayManager.RequestDraw(); }); GameManager.Instance.SetRequestDrawChanceFalse(); diff --git a/Assets/Script/Game/GameLogic.cs b/Assets/Script/Game/GameLogic.cs index f07aa93..450f847 100644 --- a/Assets/Script/Game/GameLogic.cs +++ b/Assets/Script/Game/GameLogic.cs @@ -153,8 +153,14 @@ public partial class GameLogic : IDisposable }); break; case Constants.MultiplayManagerState.DrawRequestSent: + { Debug.Log("무승부 요청 전송 완료"); + ExecuteOnMainThread(() => + { + GameManager.Instance.panelManager.OpenLoadingPanel(true, true, false, false); + }); break; + } case Constants.MultiplayManagerState.DrawAccepted: Debug.Log("무승부 요청이 승낙이 들어옴"); ExecuteOnMainThread(() =>