mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Merging game lobby with game state broadcast
This commit is contained in:
@@ -157,7 +157,7 @@ public class LobbyController implements Initializable, Observer{
|
||||
if (competitorIndex >= 8) {
|
||||
break;
|
||||
}
|
||||
if (!yachtId.equals(ClientState.getClientSourceId())) {
|
||||
if (!yachtId.equals(Integer.parseInt(ClientState.getClientSourceId()))) {
|
||||
competitors.get(competitorIndex).add(String.valueOf(yachtId));
|
||||
competitorIndex++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user