find/replace "Game.world." -> "self.World." in all traits and activities.
This commit is contained in:
@@ -20,7 +20,7 @@ namespace OpenRa.Traits
|
||||
|
||||
for (var j = min.Y; j <= max.Y; j++)
|
||||
for (var i = min.X; i <= max.X; i++)
|
||||
if (Game.world.IsCellBuildable(new int2(i, j), umt))
|
||||
if (self.World.IsCellBuildable(new int2(i, j), umt))
|
||||
return new int2(i, j);
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user