diff --git a/src/forge/GuiDisplay3.java b/src/forge/GuiDisplay3.java index d74f241f9d9..7d7b39467fa 100644 --- a/src/forge/GuiDisplay3.java +++ b/src/forge/GuiDisplay3.java @@ -1213,8 +1213,10 @@ public class GuiDisplay3 extends JFrame implements CardContainer, Display, NewCo if (humanDevHandSetup.size() > 0) AllZone.Human_Hand.setCards(humanDevHandSetup.toArray()); - AllZone.ComputerPlayer.setLife(setComputerLife, null); - AllZone.HumanPlayer.setLife(setHumanLife, null); + if (setComputerLife > 0) + AllZone.ComputerPlayer.setLife(setComputerLife, null); + if (setHumanLife > 0) + AllZone.HumanPlayer.setLife(setHumanLife, null); AllZone.GameAction.checkStateEffects(); } diff --git a/src/forge/GuiDisplay4.java b/src/forge/GuiDisplay4.java index 67b047ff0cc..baf58f1b7b2 100644 --- a/src/forge/GuiDisplay4.java +++ b/src/forge/GuiDisplay4.java @@ -1200,8 +1200,10 @@ public class GuiDisplay4 extends JFrame implements CardContainer, Display, NewCo if (humanDevHandSetup.size() > 0) AllZone.Human_Hand.setCards(humanDevHandSetup.toArray()); - AllZone.ComputerPlayer.setLife(setComputerLife, null); - AllZone.HumanPlayer.setLife(setHumanLife, null); + if (setComputerLife > 0) + AllZone.ComputerPlayer.setLife(setComputerLife, null); + if (setHumanLife > 0) + AllZone.HumanPlayer.setLife(setHumanLife, null); AllZone.GameAction.checkStateEffects(); }