mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-15 18:28:42 +07:00
Disallow wonders from being selected in puppets, even when 'just' choosing best stat building
This commit is contained in:
@ -256,7 +256,8 @@ object Automation {
|
||||
city: City,
|
||||
construction: INonPerpetualConstruction
|
||||
): Boolean {
|
||||
return allowCreateImprovementBuildings(civInfo, city, construction)
|
||||
return !(construction is Building && construction.isWonder && city.isPuppet)
|
||||
&& allowCreateImprovementBuildings(civInfo, city, construction)
|
||||
&& allowSpendingResource(civInfo, construction, city)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user