sobisonator / imp19c

Imperator 19th century mod
11 stars 15 forks source link

Countries with customs unions seem to be liable to entering negative stockpiles when repeating trade #415

Closed sobisonator closed 1 year ago

sobisonator commented 1 year ago

Countries with customs unions seem to be liable to entering negative stockpiles when repeating trade

See image

image

Not sure why, the cause needs to be investigated

sobisonator commented 1 year ago

This was due to me not letting a tick pass between runs of debug_trade.2, so the internal trade scope's tradezone stockpiles were not clearing before being tested again. This resulted in more goods being listed as available than were actually present.