mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 02:46:49 +00:00
Ditch superfluous call to getEntityById as reported by @Langbart at 6ea5d33406.
This was SVN commit r27545.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user