mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Fixed bug where players were being added to the GameState twice
#story[1047]
This commit is contained in:
@@ -28,8 +28,6 @@ public class ServerListenThread extends Thread{
|
||||
SocketChannel thisClient = socketChannel.accept();
|
||||
if (thisClient.socket() != null){
|
||||
Player thisPlayer = new Player(thisClient);
|
||||
GameState.addPlayer(thisPlayer);
|
||||
|
||||
delegate.clientConnected(thisPlayer);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user