SteamWar/FightSystem
Archiviert
13
1

AmongUS #367

Zusammengeführt
Lixfel hat 9 Commits von AmongUS nach master 2022-10-08 18:30:11 +02:00 zusammengeführt
Nur Änderungen aus Commit 9b4eaa7a57 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -80,7 +80,7 @@ public class WinconditionAmongUs extends Wincondition implements Listener {
FightPlayer current = team.getFightPlayer(player);
if (current == imposter.get(team)) {
win(team, "WIN_IMPOSTER_DEAD", team.getPrefix());
} else if (team.getAlivePlayers() <= 2 && team.getPlayers().contains(imposter.get(team))) {
} else if (team.getAlivePlayers() <= 2 && imposter.get(team).isLiving()) {
win(Fight.getOpposite(team), "WIN_CREWMATE_DEAD", Fight.getOpposite(team).getPrefix());
}
}