*Fixed triggers acting oddly when Setup Game State moves cards around.

This commit is contained in:
jendave
2011-08-07 01:06:18 +00:00
parent 7d65422fa9
commit 6aa37b23ec

View File

@@ -1074,6 +1074,8 @@ public class GuiDisplayUtil implements NewConstants {
if (!t_computerSetupExile.trim().toLowerCase().equals("none"))
computerDevExileSetup = devProcessCardsForZone(computerSetupExile, AllZone.ComputerPlayer);
AllZone.TriggerHandler.suppressMode("ChangesZone");
for (Card c : humanDevSetup)
{
AllZone.Human_Hand.add(c);
@@ -1107,6 +1109,8 @@ public class GuiDisplayUtil implements NewConstants {
AllZone.Human_Exile.setCards(humanDevExileSetup.toArray());
if(computerDevExileSetup.size() > 0)
AllZone.Computer_Exile.setCards(computerDevExileSetup.toArray());
AllZone.TriggerHandler.clearSuppression("ChangesZone");
if (setComputerLife > 0)
AllZone.ComputerPlayer.setLife(setComputerLife, null);