ignore reservations being collected in worlds other than the one the OM is attached to.

This commit is contained in:
Chris Forbes
2011-03-05 11:09:56 +13:00
parent 7c6d35e318
commit 85fe83d608
2 changed files with 16 additions and 7 deletions

View File

@@ -364,6 +364,11 @@ namespace OpenRA
{
server = new Server.Server(modData, settings, map);
JoinServer(IPAddress.Loopback.ToString(), settings.Server.ListenPort);
}
}
public static bool IsCurrentWorld(World world)
{
return orderManager != null && orderManager.world == world;
}
}
}