fix: player null exception 수정
This commit is contained in:
@@ -23,7 +23,7 @@ namespace TON
|
||||
// 플레이어가 가지고 있는 캐릭터들의 데이터 불러옴
|
||||
List<PlayerData> players = PlayerDataManager.Singleton.playersData;
|
||||
|
||||
if (players.Count == 0)
|
||||
if (players == null || players.Count == 0)
|
||||
{
|
||||
// 현재 가지고 있는 캐릭터가 없다면 CharaterCreateUI 를 보여주고
|
||||
UIManager.Show<CharaterCreateUI>(UIList.CharaterCreateUI);
|
||||
|
||||
Reference in New Issue
Block a user