fix scan rate of combat units (was every frame)

This commit is contained in:
Chris Forbes
2010-03-19 20:41:11 +13:00
parent 09f0846115
commit b5afedb601
2 changed files with 24 additions and 8 deletions

View File

@@ -22,6 +22,7 @@ using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Drawing;
namespace OpenRA.Traits.Activities
{
@@ -96,7 +97,7 @@ namespace OpenRA.Traits.Activities
return this;
}
if( destination == self.Location )
if (destination == self.Location)
return NextActivity;
if( path == null )