find/replace "Game.world." -> "self.World." in all traits and activities.
This commit is contained in:
@@ -13,7 +13,7 @@ namespace OpenRa.Traits
|
||||
var unit = self.traits.GetOrDefault<Unit>();
|
||||
var altitude = unit != null ? unit.Altitude : 0;
|
||||
|
||||
Game.world.AddFrameEndTask(
|
||||
self.World.AddFrameEndTask(
|
||||
w => w.Add(new Bullet("UnitExplode", e.Attacker.Owner, e.Attacker,
|
||||
self.CenterLocation.ToInt2(), self.CenterLocation.ToInt2(),
|
||||
altitude, altitude)));
|
||||
|
||||
Reference in New Issue
Block a user