- Fixed reversed logic of "Your opponents can't win the game." and "You can't win the game.".

This commit is contained in:
Sloth
2011-10-25 07:05:03 +00:00
parent a3bc6f009a
commit 70b4e74614

View File

@@ -1527,13 +1527,13 @@ public abstract class Player extends GameEntity {
* @return a boolean.
*/
public boolean cantWin() {
CardList list = getOpponent().getCardsIn(Zone.Battlefield);
CardList list = getCardsIn(Zone.Battlefield);
list = list.getKeyword("You can't win the game.");
if (list.size() > 0)
return true;
CardList oppList = getCardsIn(Zone.Battlefield);
CardList oppList = getOpponent().getCardsIn(Zone.Battlefield);
oppList = oppList.getKeyword("Your opponents can't win the game.");
return oppList.size() > 0;