Add the world components of the new editor.

This commit is contained in:
Paul Chote
2015-04-06 14:57:13 +01:00
parent 1f024a8695
commit d211fe9fe1
15 changed files with 833 additions and 117 deletions

View File

@@ -102,8 +102,9 @@ namespace OpenRA.Mods.Common.Widgets
{
leaveButton.Disabled = true;
Sound.PlayNotification(world.Map.Rules, null, "Speech", "Leave",
world.LocalPlayer == null ? null : world.LocalPlayer.Country.Race);
if (world.Type == WorldType.Regular)
Sound.PlayNotification(world.Map.Rules, null, "Speech", "Leave",
world.LocalPlayer == null ? null : world.LocalPlayer.Country.Race);
var exitDelay = 1200;
if (mpe != null)