civfanatics / CQUI_Community-Edition

Civilization 6 mod - UI enhancements, reduce clicks and manage your empire faster!
MIT License
149 stars 28 forks source link

Production Panel: Handle gold-only units (Monopoly++ Integration) #316

Closed the-m4a closed 3 years ago

the-m4a commented 3 years ago

I promise I did not see @HeroOfOlympus 's PR before figuring this out, but the changes here are similar to what HeroOfOlympus had proposed.

The logic that added the must-be-purchased units to the production panel would only look for Faith-based units... and those units in the Monopoly++ mod are gold-only. Doesn't seem all that logical to only deal with faith-based, so this change fixes up the units list on the production panel.

image