mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-29 06:09:24 +07:00
Don't use tileRemovals for ruleset validation check, since we edit the ruleset as we go in the new game screen, so the tileRemovals is not accurate once mods are changed
This commit is contained in:
@ -416,7 +416,7 @@ class RulesetValidator(val ruleset: Ruleset) {
|
||||
if (improvement.terrainsCanBeBuiltOn.isEmpty()
|
||||
&& !improvement.hasUnique(UniqueType.CanOnlyImproveResource)
|
||||
&& !improvement.hasUnique(UniqueType.Unbuildable)
|
||||
&& improvement !in ruleset.tileRemovals
|
||||
&& !improvement.name.startsWith(Constants.remove)
|
||||
&& improvement.name !in RoadStatus.values().map { it.removeAction }
|
||||
&& improvement.name != Constants.cancelImprovementOrder
|
||||
) {
|
||||
|
Reference in New Issue
Block a user