moving Map, TileSet from Rules to World
This commit is contained in:
@@ -41,7 +41,7 @@ namespace OpenRa.Traits
|
||||
&& underCursor.traits.Contains<AcceptsOre>() && !IsEmpty)
|
||||
return new Order("Deliver", self, underCursor, int2.Zero, null);
|
||||
|
||||
if (underCursor == null && Rules.Map.ContainsResource(xy))
|
||||
if (underCursor == null && Game.world.Map.ContainsResource(xy))
|
||||
return new Order("Harvest", self, null, xy, null);
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user