Procedural sectors on Serpulo now require a Foundation core
This commit is contained in:
@@ -475,7 +475,7 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
|
||||
|
||||
/** @return whether the unit *can* be commanded, even if its controller is not currently CommandAI. */
|
||||
public boolean allowCommand(){
|
||||
return controller instanceof CommandAI || (controller instanceof LogicAI ai && (ai.controller == null || !ai.controller.block.privileged) && type.allowChangeCommands);
|
||||
return controller instanceof CommandAI;
|
||||
}
|
||||
|
||||
/** @return whether the unit has a CommandAI controller */
|
||||
|
||||
Reference in New Issue
Block a user