This commit is contained in:
Bob
2010-01-21 13:58:42 +13:00
parent 698985c30c
commit 2adff2519b

View File

@@ -66,7 +66,7 @@ namespace OpenRa
static Player LookupPlayer(World world, uint index) static Player LookupPlayer(World world, uint index)
{ {
return Game.world.players return world.players
.Where(x => x.Value.Index == index) .Where(x => x.Value.Index == index)
.First().Value; .First().Value;
} }