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(() =>