We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45eab2f commit b1edaa3Copy full SHA for b1edaa3
2 files changed
19/Done/Pong/Assets/Scripts/LobbyManager.cs
@@ -157,9 +157,8 @@ private bool CheckIsReadyToStart()
157
}
158
159
// 모든 플레이어가 준비 상태여야 게임을 시작할 수 있음
160
- foreach (var clientReadyStatePair in _clientReadyStates)
+ foreach (var isReady in _clientReadyStates.Values)
161
{
162
- var isReady = clientReadyStatePair.Value;
163
if (!isReady)
164
165
return false;
20/Pong/Assets/Scripts/LobbyManager.cs
0 commit comments