Fix players not losing on Pick a Side
This commit is contained in:
parent
6a66d6cc92
commit
989dd98212
@ -66,7 +66,6 @@ public class ChallengePickASide extends TeamChallenge
|
||||
"The side with the fewest players wins.");
|
||||
|
||||
Settings.setUseMapHeight();
|
||||
Settings.setMinPlayers(CHALLENGE_PLAYERS_MIN);
|
||||
Settings.setTeamBased();
|
||||
}
|
||||
|
||||
@ -270,6 +269,11 @@ public class ChallengePickASide extends TeamChallenge
|
||||
{
|
||||
setCompleted(bluePlayer);
|
||||
}
|
||||
|
||||
for (Player redPlayer : getSecondTeam().getPlayers())
|
||||
{
|
||||
setLost(redPlayer);
|
||||
}
|
||||
}
|
||||
|
||||
private void selectRedAsWinners()
|
||||
@ -278,5 +282,10 @@ public class ChallengePickASide extends TeamChallenge
|
||||
{
|
||||
setCompleted(redPlayer);
|
||||
}
|
||||
|
||||
for (Player bluePlayer : getFirstTeam().getPlayers())
|
||||
{
|
||||
setLost(bluePlayer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user