diff --git a/src/forge/AllZone.java b/src/forge/AllZone.java index d42f114b3b2..181f4b5110d 100644 --- a/src/forge/AllZone.java +++ b/src/forge/AllZone.java @@ -63,7 +63,7 @@ public class AllZone implements NewConstants { public static final ManaPool ManaPool = new ManaPool(AllZone.HumanPlayer); - public static Display Display = new GuiDisplay2(); + public static Display Display; private final static Map map = new HashMap(); diff --git a/src/forge/GuiDisplay2.java b/src/forge/GuiDisplay2.java index fe61d30f04b..57a567408f1 100644 --- a/src/forge/GuiDisplay2.java +++ b/src/forge/GuiDisplay2.java @@ -46,6 +46,7 @@ public class GuiDisplay2 extends javax.swing.JFrame implements CardContainer, Di public GuiDisplay2() { + AllZone.Display = this; initComponents(); addObservers(); diff --git a/src/forge/GuiDisplay3.java b/src/forge/GuiDisplay3.java index 16fabe9b525..658dbe25427 100644 --- a/src/forge/GuiDisplay3.java +++ b/src/forge/GuiDisplay3.java @@ -96,6 +96,7 @@ public class GuiDisplay3 extends JFrame implements CardContainer, Display, NewCo //private CardList multiBlockers = new CardList(); public GuiDisplay3() { + AllZone.Display = this; setupActions(); initComponents(); diff --git a/src/forge/GuiDisplay4.java b/src/forge/GuiDisplay4.java index e317eadf360..1fb2aa38ff7 100644 --- a/src/forge/GuiDisplay4.java +++ b/src/forge/GuiDisplay4.java @@ -104,6 +104,7 @@ public class GuiDisplay4 extends JFrame implements CardContainer, Display, NewCo //private CardList multiBlockers = new CardList(); public GuiDisplay4() { + AllZone.Display = this; setupActions(); initComponents();