Fixed Phase stops (skipped possibility to response to spells and abilities if phase was off)

This commit is contained in:
magenoxx 2010-12-25 23:48:56 +03:00
parent b9eba43ccf
commit 9b72097827
3 changed files with 26 additions and 0 deletions

View file

@ -62,6 +62,9 @@ public class PhaseManager {
}
public boolean isSkip(GameView gameView, String message) {
if (GameManager.getInstance().getStackSize() > 0) {
return false;
}
Map<String, String> map = gameView.getActivePlayerName().equals(DEFAULT_PLAYER_NAME) ? mapYou : mapOthers;
for (Map.Entry<String, String> entry : map.entrySet()) {
if (message.equals(entry.getKey())) {