pruning refs to Game.world

This commit is contained in:
Bob
2010-08-20 17:46:58 +12:00
parent 0e71af25f4
commit 3f68330c70
13 changed files with 30 additions and 17 deletions

View File

@@ -48,7 +48,7 @@ namespace OpenRA.Mods.RA.Orders
public static bool PlayerIsAllowedToRepair( World world )
{
return Game.world.Queries.OwnedBy[ Game.world.LocalPlayer ].WithTrait<AllowsBuildingRepair>().Any();
return world.Queries.OwnedBy[ world.LocalPlayer ].WithTrait<AllowsBuildingRepair>().Any();
}
public void RenderAfterWorld( World world ) {}