Fix: get the correct cargo id for use in goals text

This commit is contained in:
Andy
2015-01-01 08:13:08 +00:00
parent 524b958782
commit 3598257da7
2 changed files with 6 additions and 6 deletions

View File

@@ -181,7 +181,7 @@ function BusyBeeClass::CreateChallenge(cid)
amount = 10 * 25 + 35 * 50 + (amount - 10 - 35) * 100; // 2000..7500
}
if (cdata != null) {
cdata.AddActiveGoal(cargo, accept, amount);
cdata.AddActiveGoal(cargo, accept, amount, this.cargoes);
local destination_name;
if ("town" in accept) {