summaryrefslogtreecommitdiff |
diff options
-rw-r--r-- | src/battle/struct/btl_battle_action.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle/struct/btl_battle_action.erl b/src/battle/struct/btl_battle_action.erl index 307043a..66c8304 100644 --- a/src/battle/struct/btl_battle_action.erl +++ b/src/battle/struct/btl_battle_action.erl @@ -88,7 +88,7 @@ decode (EncodedAction) -> can_follow (nothing, attack) -> true; can_follow (nothing, switch_weapon) -> true; can_follow (nothing, move) -> true; -can_follow (switch_weapon, attack) -> true; +can_follow (move, switch_weapon) -> true; can_follow (move, attack) -> true; can_follow (_, _) -> false. |