mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-24 10:01:39 +07:00
Disallow wonders from being selected in puppets, even when 'just' choosing best stat building
This commit is contained in:
parent
31f16abbae
commit
2193e24364
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user