Possible unit control fix

This commit is contained in:
Anuken
2022-05-08 12:09:06 -04:00
parent 33cfeeb500
commit ace6e09979

View File

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