forked from External/mage
make the combatmanager an enum
This commit is contained in:
parent
5b21f34941
commit
ce26e5c8dd
2 changed files with 4 additions and 10 deletions
|
|
@ -860,9 +860,9 @@ public final class GamePanel extends javax.swing.JPanel {
|
|||
showRevealed(game);
|
||||
showLookedAt(game);
|
||||
if (!game.getCombat().isEmpty()) {
|
||||
CombatManager.getInstance().showCombat(game.getCombat(), gameId);
|
||||
CombatManager.instance.showCombat(game.getCombat(), gameId);
|
||||
} else {
|
||||
CombatManager.getInstance().hideCombat(gameId);
|
||||
CombatManager.instance.hideCombat(gameId);
|
||||
}
|
||||
|
||||
for (PlayerView player : game.getPlayers()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue