summaryrefslogtreecommitdiff
path: root/src/script/api/script_enginelist.hpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-05-29 11:21:30 +0200
committerGitHub <noreply@github.com>2021-05-29 11:21:30 +0200
commit4d74e519074bec9a07c2997715ab635ac0e8f084 (patch)
tree3603ab109385b848dce910d12ee3b5211c99b4fb /src/script/api/script_enginelist.hpp
parent4c0e083128a4e9c3eefefaab70648057bd1d9fb2 (diff)
downloadopenttd-4d74e519074bec9a07c2997715ab635ac0e8f084.tar.xz
Fix #9281: acquire a company uses special bookkeeping to make you rich (#9300)
When you buy-out a company, you got your shares back. This is based on company-value, which includes values for the vehicles etc. In other words, you not only got the vehicles, but you also got paid to get them back. Additionally, you also got the loan of the company, but not the money for the loan (as that is subtracted from the company-value). Solve this by changing the rules of a buy-out: don't sell your shares, get the loan AND the balance and get the infrastructure.
Diffstat (limited to 'src/script/api/script_enginelist.hpp')
0 files changed, 0 insertions, 0 deletions