RTS AI fixes / Silicon gated behind Frozen Forest / Tainted woods guardian nerf

This commit is contained in:
Anuken
2025-04-30 19:07:57 -04:00
parent bad43e8fa9
commit 37f32d3317
7 changed files with 10 additions and 5 deletions

View File

@@ -110,7 +110,7 @@ public class Team implements Comparable<Team>, Senseable{
/** @return whether this team is supposed to be AI-controlled. */
public boolean isAI(){
return (state.rules.waves || state.rules.attackMode) && this != state.rules.defaultTeam && !state.rules.pvp;
return (state.rules.waves || state.rules.attackMode || state.isCampaign()) && this != state.rules.defaultTeam && !state.rules.pvp;
}
/** @return whether this team is solely comprised of AI (with no players possible). */