Update scripts (#5175)

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
This commit is contained in:
tool4ever
2024-04-29 12:30:40 +02:00
committed by GitHub
parent b9ceb8eb96
commit b67d196ef8
9 changed files with 9 additions and 9 deletions

View File

@@ -2037,7 +2037,7 @@ public class AbilityUtils {
}
if (sq[0].equals("CrewSize")) {
return doXMath(c.getCrewedByThisTurn().size(), expr, c, ctb);
return doXMath(c.getCrewedByThisTurn() == null ? 0 : c.getCrewedByThisTurn().size(), expr, c, ctb);
}
if (sq[0].equals("Intensity")) {