From 46c3bc09a1bb09bfed0a4b666155a603f9d25b3e Mon Sep 17 00:00:00 2001 From: Bob Date: Sun, 24 Oct 2010 12:27:17 +1300 Subject: [PATCH] fix harv bug in c&c --- OpenRA.Mods.Cnc/TiberiumRefineryDockAction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Cnc/TiberiumRefineryDockAction.cs b/OpenRA.Mods.Cnc/TiberiumRefineryDockAction.cs index 6cb5040d41..8a044d422d 100644 --- a/OpenRA.Mods.Cnc/TiberiumRefineryDockAction.cs +++ b/OpenRA.Mods.Cnc/TiberiumRefineryDockAction.cs @@ -28,7 +28,7 @@ namespace OpenRA.Mods.Cnc { int2 startDock = harv.Trait().PxPosition; int2 endDock = self.Trait().PxPosition + new int2(-15,8); - var mobile = self.Trait(); + var mobile = harv.Trait(); var harvester = harv.Trait(); harv.QueueActivity( new Turn(112) );