From 2adff2519b2e7a760a187104c254a84a7cdfe8a4 Mon Sep 17 00:00:00 2001 From: Bob Date: Thu, 21 Jan 2010 13:58:42 +1300 Subject: [PATCH] oops --- OpenRa.Game/Orders/Order.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRa.Game/Orders/Order.cs b/OpenRa.Game/Orders/Order.cs index b568523f99..953f599fb9 100644 --- a/OpenRa.Game/Orders/Order.cs +++ b/OpenRa.Game/Orders/Order.cs @@ -66,7 +66,7 @@ namespace OpenRa static Player LookupPlayer(World world, uint index) { - return Game.world.players + return world.players .Where(x => x.Value.Index == index) .First().Value; }