diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/lobby/pipelining/DisconnectSegment.java b/Server/src/main/java/uulm/teamname/marvelous/server/lobby/pipelining/DisconnectSegment.java index 1aeeb32..483f63f 100644 --- a/Server/src/main/java/uulm/teamname/marvelous/server/lobby/pipelining/DisconnectSegment.java +++ b/Server/src/main/java/uulm/teamname/marvelous/server/lobby/pipelining/DisconnectSegment.java @@ -30,9 +30,9 @@ public class DisconnectSegment implements Segment { if (packet.getOrigin().type != ParticipantType.Spectator) { if (parent.getConnection().hasPlayer1()) { - parent.generateWin(parent.getConnection().getPlayer1()); + parent.triggerWin(parent.getConnection().getPlayer1()); } else if (parent.getConnection().hasPlayer2()) { - parent.generateWin(parent.getConnection().getPlayer2()); + parent.triggerWin(parent.getConnection().getPlayer2()); } } packet.clear();