Merge pull request #90 from Degulleo/DO-87-무승부-요청-거절-후-로딩패널-닫히지-않는-버그

[Fix] 로딩화면 버그 해결
This commit is contained in:
HaeinLEE117 2025-03-31 09:13:12 +09:00 committed by GitHub
commit 743d2b2275
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -190,19 +190,19 @@ public partial class GameLogic : IDisposable
}
case Constants.MultiplayManagerState.DrawRejected:
Debug.Log("무승부 요청이 거부가 들어옴");
TimerUnpause();
ExecuteOnMainThread(() =>
{
GameManager.Instance.panelManager.CloseLoadingPanel();
GameManager.Instance.panelManager.OpenConfirmPanel("무승부 요청을 거부하였습니다.", () => { });
});
TimerUnpause();
break;
case Constants.MultiplayManagerState.DrawRejectionConfirmed:
{
Debug.Log("무승부 요청 거부 완료");
ExecuteOnMainThread(() =>
{
GameManager.Instance.panelManager.OpenLoadingPanel(true, true, false, false);
GameManager.Instance.panelManager.CloseLoadingPanel();
});
TimerUnpause();
break;