1
0
forked from 0ad/0ad

fix rallyPoint on foundation, (it worked only by chance because all structures are repairable)

This was SVN commit r16940.
This commit is contained in:
mimo 2015-08-25 15:39:11 +00:00
parent b9ab8f5855
commit e3208c8784

View File

@ -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;