diff --git a/OpenRA.Mods.Common/Traits/CashTrickler.cs b/OpenRA.Mods.Common/Traits/CashTrickler.cs index 3c7d8940189f..cd3a4b380e35 100644 --- a/OpenRA.Mods.Common/Traits/CashTrickler.cs +++ b/OpenRA.Mods.Common/Traits/CashTrickler.cs @@ -86,7 +86,7 @@ void ModifyCash(Actor self, Player newOwner, int amount) { amount = resources.ChangeCash(amount); - if (info.ShowTicks) + if (info.ShowTicks && amount != 0) AddCashTick(self, amount); } } diff --git a/OpenRA.Mods.Common/Traits/GivesCashOnCapture.cs b/OpenRA.Mods.Common/Traits/GivesCashOnCapture.cs index b208d619f3f6..2cdd8fd4e7f5 100644 --- a/OpenRA.Mods.Common/Traits/GivesCashOnCapture.cs +++ b/OpenRA.Mods.Common/Traits/GivesCashOnCapture.cs @@ -54,7 +54,7 @@ void INotifyCapture.OnCapture(Actor self, Actor captor, Player oldOwner, Player var amount = resources.ChangeCash(info.Amount); - if (!info.ShowTicks) + if (!info.ShowTicks && amount != 0) return; self.World.AddFrameEndTask(w => w.Add(