From 8b29373a7cd7e270b49feefbffcf01e3b357d53a Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 2 Apr 2016 15:57:04 +0100 Subject: [PATCH] Respect map creeps configuration. --- OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs b/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs index 55a3731a8c..2ae63a11cc 100644 --- a/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs +++ b/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs @@ -1036,6 +1036,9 @@ namespace OpenRA.Mods.Common.Server var mapBuildRadius = rules.Actors["world"].TraitInfoOrDefault(); gs.AllyBuildRadius = mapBuildRadius != null && mapBuildRadius.AllyBuildRadiusEnabled; + var mapCreeps = rules.Actors["world"].TraitInfoOrDefault(); + gs.Creeps = mapCreeps != null && mapCreeps.Enabled; + var mapOptions = rules.Actors["world"].TraitInfo(); gs.ShortGame = mapOptions.ShortGameEnabled; gs.TechLevel = mapOptions.TechLevel;