1
0
forked from 0ad/0ad

Fix pickup error.

Introduced by forgetting to change a line in fd1d7d5d83.

This was SVN commit r25217.
This commit is contained in:
Freagarach 2021-04-09 07:08:33 +00:00
parent 8f04d2ee90
commit b1c1cb1657

View File

@ -355,7 +355,7 @@ UnitAI.prototype.UnitFsmSpec = {
if (!cmpHolder || cmpHolder.IsFull())
return this.FinishOrder();
let range = cmpHolder.GetLoadingRange();
let range = cmpHolder.LoadingRange();
msg.data.min = range.min;
msg.data.max = range.max;
if (this.CheckRange(msg.data))