sobisonator / imp19c

Imperator 19th century mod
11 stars 15 forks source link

Pops getting income that they should not #353

Closed sobisonator closed 1 year ago

sobisonator commented 1 year ago

Pops that are not present at all in a governorship are still getting a share of the income that should be impossible to designate to them, as there are no pops to receive it.

The key scripted effect governing this is: SELL_split_income

To recreate this bug, run event debug_trade.1 and then event debug_trade.2 then inspect the wealth owned by each pop group after the trade, compared to previously.

sobisonator commented 1 year ago

Fixed by https://github.com/sobisonator/imp19c/commit/34a32846b9615fb98a8add81b8ccde7a81998270