This commit is contained in:
2020-05-27 00:21:15 +02:00
parent 451ba978fb
commit 59dea385da

View File

@@ -181,8 +181,8 @@ function CompanyGoal::UpdateDelivered(mon, comp_id)
} }
local goal_won_news; local goal_won_news;
if (this.reward > 0) { if (this.reward > 0) {
GSCompany.ChangeBankBalance(comp_id, this.reward, GSCompany::ExpensesType.EXPENSES_OTHER); GSCompany.ChangeBankBalance(comp_id, this.reward, GSCompany.EXPENSES_OTHER);
goal_won_news = GSText(GSText.STR_COMPANY_GOAL_REWARD_WON_NEWS, cargo.cid, this.wanted_amount, destination_string_news, this.reward); // goal_won_news = GSText(GSText.STR_COMPANY_GOAL_REWARD_WON_NEWS, cargo.cid, this.wanted_amount, destination_string_news, this.reward);
} else { } else {
goal_won_news = GSText(GSText.STR_COMPANY_GOAL_WON_NEWS, cargo.cid, this.wanted_amount, destination_string_news); goal_won_news = GSText(GSText.STR_COMPANY_GOAL_WON_NEWS, cargo.cid, this.wanted_amount, destination_string_news);
} }