diff --git a/src/UI/Lobby/SlotList.tsx b/src/UI/Lobby/SlotList.tsx index edea90c..04b2bbc 100644 --- a/src/UI/Lobby/SlotList.tsx +++ b/src/UI/Lobby/SlotList.tsx @@ -39,7 +39,10 @@ const SlotList = () => { ...gameData, nowSlotId: slotId }); - if (componyID === BusinessEnum.ComponyType[BusinessEnum.ServerType[BusinessTypeSetting.UseServerType]]) { + const UseServerType = BusinessTypeSetting.UseServerType; + const ServerType = BusinessEnum.ServerType[UseServerType]; + const SDType = BusinessEnum.ComponyType[ServerType]; + if (componyID === SDType) { setGameUrl(url); } else { @@ -67,7 +70,7 @@ const SlotList = () => { }> :