mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue