From 487e2483cf92af27b9f5b58b8968f58c6c1cbaa7 Mon Sep 17 00:00:00 2001 From: Hellfish Date: Sun, 25 Sep 2011 09:32:46 +0000 Subject: [PATCH] *Minor fix to the new Home Screen(nice and understandable code); Picking random deck for the AI causes it to echo the deck chosen for the human. --- src/main/java/forge/view/swing/Gui_HomeScreen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/forge/view/swing/Gui_HomeScreen.java b/src/main/java/forge/view/swing/Gui_HomeScreen.java index 9110b154a2b..b759ece7a05 100644 --- a/src/main/java/forge/view/swing/Gui_HomeScreen.java +++ b/src/main/java/forge/view/swing/Gui_HomeScreen.java @@ -1013,7 +1013,7 @@ public class Gui_HomeScreen { Deck rDeck = chooseRandomDeck(); if (rDeck != null) { - String msg = String.format("The computer is using deck: %s.", Constant.Runtime.HumanDeck[0].getName()); + String msg = String.format("The computer is using deck: %s.", Constant.Runtime.ComputerDeck[0].getName()); JOptionPane.showMessageDialog(null, msg, "Random Deck Name", JOptionPane.INFORMATION_MESSAGE); Constant.Runtime.ComputerDeck[0] = rDeck;