Change: pretty-print the cargo amounts for goals

This commit is contained in:
Andy
2014-12-28 17:28:42 +00:00
parent f01fca7072
commit 7ce591d8b7
2 changed files with 2 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ function FMainClass::CreateChallenge(cid)
destination_string = GSText(GSText.STR_INDUSTRY_NAME, destination);
goal_type = GSGoal.GT_INDUSTRY;
}
local goal_text = GSText(GSText.STR_COMPANY_GOAL, amount, 1 << cargo, destination_string);
local goal_text = GSText(GSText.STR_COMPANY_GOAL, cargo, amount, 1 << cargo, destination_string);
GSLog.Info("Company " + cid + ": " + amount + " of " +
GSCargo.GetCargoLabel(this.cargoes[cargo].cid) +
" to " + destination_name);