Remove obsolete Player index cruft

This commit is contained in:
Paul Chote
2011-06-17 22:17:03 +12:00
parent bcbd18bb52
commit 532bd42aed
20 changed files with 49 additions and 64 deletions

View File

@@ -128,7 +128,7 @@ namespace OpenRA
{
if( player != null )
return player;
return world.players.Values.First( x => x.InternalName == PlayerName );
return world.Players.First( x => x.InternalName == PlayerName );
}
}
}