sobisonator / imp19c

Imperator 19th century mod
11 stars 15 forks source link

Update customs union functionality for internal trade #357

Closed sobisonator closed 1 year ago

sobisonator commented 1 year ago

ATM because the internal trade function iterates through countries, it does not work as intended for customs unions.

When running in a customs union, it needs to use a different order which instead of countries, iterates through all the regions in the customs union - which are thankfully already stored in a readily accessible list.

sobisonator commented 1 year ago

Addressed in https://github.com/sobisonator/imp19c/commit/296b54fa58545076f53bf3754f0442aa797c8d72