mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Attempt to implement a basic team victory
This commit is contained in:
@@ -174,6 +174,8 @@ public class ViewWinLose {
|
||||
Player winner = outcome.getWinningPlayer();
|
||||
if (winner == null) {
|
||||
return "It's a draw!";
|
||||
} else if (winningTeam != -1) {
|
||||
return "Team " + winner.getTeam() + " Won!";
|
||||
} else {
|
||||
return winner.getName() + " Won!";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user