Fix "Instantly consumes [amount] [resource]"

This commit is contained in:
Yair Morgenstern 2023-04-13 16:02:46 +03:00
parent 36a8b368c8
commit 4d3b2845fd

View File

@ -352,7 +352,7 @@ object UniqueTriggerActivation {
val resource = ruleSet.tileResources[resourceName] ?: return false
if (!resource.isStockpiled()) return false
civInfo.resourceStockpiles.add(resourceName, amount)
civInfo.resourceStockpiles.add(resourceName, -amount)
val notificationText = getNotificationText(notification, triggerNotificationText,
"You have lost [$amount] [$resourceName]")