mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-05 21:11:35 +07:00
Fixed tile filter for civ-related conditions for "upon ending a turn in a [tileFilter] tile" trigger
This commit is contained in:
parent
5ea1d5722b
commit
8042402c1c
@ -60,7 +60,7 @@ class UnitTurnManager(val unit: MapUnit) {
|
||||
|
||||
for (unique in unit.getTriggeredUniques(UniqueType.TriggerUponEndingTurnInTile))
|
||||
if (unique.conditionals.any { it.type == UniqueType.TriggerUponEndingTurnInTile
|
||||
&& unit.getTile().matchesFilter(it.params[0]) })
|
||||
&& unit.getTile().matchesFilter(it.params[0], unit.civ) })
|
||||
UniqueTriggerActivation.triggerUnitwideUnique(unique, unit)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user