[HOTFIX] 메인 게임에서 종료 버그 수정
This commit is contained in:
parent
9be11b1548
commit
75b4cec6f7
@ -162,7 +162,7 @@ public class GameManager : Singleton<GameManager>
|
|||||||
private void OnApplicationQuit()
|
private void OnApplicationQuit()
|
||||||
{
|
{
|
||||||
Debug.Log("앱 종료 감지: 소켓 연결 정리 중...");
|
Debug.Log("앱 종료 감지: 소켓 연결 정리 중...");
|
||||||
|
if (_gameLogic == null) return;
|
||||||
if(_gameLogic.GameInProgress)
|
if(_gameLogic.GameInProgress)
|
||||||
_gameLogic?.ForceQuit();
|
_gameLogic?.ForceQuit();
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user