fixes fix in prev
This commit is contained in:
@@ -91,9 +91,10 @@ namespace OpenRA.Traits
|
||||
throw new InvalidOperationException( "UIM: Sanity check failed B" );
|
||||
}
|
||||
|
||||
Actor[] noActors = { };
|
||||
public IEnumerable<Actor> GetUnitsAt( int2 a )
|
||||
{
|
||||
if (!map.IsInMap(a)) return null;
|
||||
if (!map.IsInMap(a)) return noActors;
|
||||
return influence[ a.X, a.Y ];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user