1
0
forked from 0ad/0ad

Ditch superfluous call to getEntityById as reported by @Langbart at 6ea5d33406.

This was SVN commit r27545.
This commit is contained in:
Freagarach 2023-02-17 07:04:57 +00:00
parent 6ea5d33406
commit 783efd4aaa

View File

@ -475,7 +475,7 @@ PETRA.VictoryManager.prototype.pickCriticalEntRetreatLocation = function(gameSta
{
const bestBasePos = bestBase.anchor.position();
criticalEnt.moveToRange(bestBasePos[0], bestBasePos[1],
0, gameState.getEntityById(bestBase.anchorId).obstructionRadius().max);
0, bestBase.anchor.obstructionRadius().max);
}
};