This commit is contained in:
@@ -181,7 +181,7 @@ function CompanyGoal::UpdateDelivered(mon, comp_id)
|
||||
}
|
||||
local goal_won_news;
|
||||
if (this.reward > 0) {
|
||||
GSCompany.ChangeBankBalance(comp_id, 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);
|
||||
} else {
|
||||
goal_won_news = GSText(GSText.STR_COMPANY_GOAL_WON_NEWS, cargo.cid, this.wanted_amount, destination_string_news);
|
||||
|
||||
Reference in New Issue
Block a user