[ZNR] small change to modes

This commit is contained in:
Evan Kranzler 2020-09-08 21:29:57 -04:00
parent 6aaa398962
commit 73f9a82938

View file

@ -228,9 +228,14 @@ public class Modes extends LinkedHashMap<UUID, Mode> {
this.turnNum = game.getTurnNum(); this.turnNum = game.getTurnNum();
} }
} }
if (this.allWhenKicked && KickedCondition.instance.apply(game, source)) { if (this.allWhenKicked) {
if (KickedCondition.instance.apply(game, source)) {
this.setMinModes(0); this.setMinModes(0);
this.setMaxModes(3); this.setMaxModes(3);
} else {
this.setMinModes(1);
this.setMaxModes(1);
}
} }
if (this.size() > 1) { if (this.size() > 1) {
this.clearSelectedModes(); this.clearSelectedModes();