From 59dea385da99f0f2009e3f4eff0fe5b490ce0ed8 Mon Sep 17 00:00:00 2001 From: jottyfan Date: Wed, 27 May 2020 00:21:15 +0200 Subject: [PATCH] bugfix --- company.nut | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/company.nut b/company.nut index a1839b7..5a56a1f 100644 --- a/company.nut +++ b/company.nut @@ -181,8 +181,8 @@ function CompanyGoal::UpdateDelivered(mon, comp_id) } local goal_won_news; if (this.reward > 0) { - GSCompany.ChangeBankBalance(comp_id, this.reward, GSCompany::ExpensesType.EXPENSES_OTHER); - goal_won_news = GSText(GSText.STR_COMPANY_GOAL_REWARD_WON_NEWS, cargo.cid, this.wanted_amount, destination_string_news, this.reward); + 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); } else { goal_won_news = GSText(GSText.STR_COMPANY_GOAL_WON_NEWS, cargo.cid, this.wanted_amount, destination_string_news); }