fix rallyPoint on foundation, (it worked only by chance because all structures are repairable)
This was SVN commit r16940.
This commit is contained in:
parent
b9ab8f5855
commit
e3208c8784
@ -523,7 +523,7 @@ var unitActions =
|
||||
data.resourceType = resourceType;
|
||||
data.resourceTemplate = targetState.template;
|
||||
}
|
||||
else if (targetState.foundation && entState.builder)
|
||||
else if (targetState.foundation && playerCheck(entState, targetState, ["Ally"]))
|
||||
{
|
||||
data.command = "build";
|
||||
data.target = targetState.id;
|
||||
|
Loading…
Reference in New Issue
Block a user