Merge branch 'suspend' into 'master'

AI: Fix backing out of Suspend

See merge request core-developers/forge!4640
This commit is contained in:
Hans Mackowiak
2021-05-02 08:55:10 +00:00

View File

@@ -297,7 +297,7 @@ public class PermanentAi extends SpellAbilityAi {
if (!checkPhaseRestrictions(ai, sa, ai.getGame().getPhaseHandler())) { if (!checkPhaseRestrictions(ai, sa, ai.getGame().getPhaseHandler())) {
return false; return false;
} }
return checkApiLogic(ai, sa); return mandatory || checkApiLogic(ai, sa);
} }
} }