HOTFIX: hotfixed show-stopping bug

This commit is contained in:
Yannik Bretschneider 2021-06-07 18:21:30 +02:00
parent 2da32cb397
commit 7d486df64f
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class LobbyConnection implements Runnable {
}
public void addParticipant(Participant participant) {
if (this.state == LobbyConnectionState.Started || this.player1.state == ParticipantState.Playing) {
if (this.state == LobbyConnectionState.Started) {
Logger.trace("Set client state to playing");
participant.getClient().state = ClientState.Playing;
participant.state = ParticipantState.Playing;