From 98b14688015981db01cf3a505197380a1f6ca547 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Thu, 20 Jul 2017 14:45:28 +0200 Subject: [PATCH] Clean up Harvester TickIdle a bit Triggering UnblockRefinery each idle tick is bogus. --- OpenRA.Mods.Common/Traits/Harvester.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Harvester.cs b/OpenRA.Mods.Common/Traits/Harvester.cs index 26da779342..90d8ae797b 100644 --- a/OpenRA.Mods.Common/Traits/Harvester.cs +++ b/OpenRA.Mods.Common/Traits/Harvester.cs @@ -268,7 +268,8 @@ namespace OpenRA.Mods.Common.Traits void INotifyIdle.TickIdle(Actor self) { // Should we be intelligent while idle? - if (!idleSmart) return; + if (!idleSmart) + return; // Are we not empty? Deliver resources: if (!IsEmpty)