#540 move 'allow cheats' to lobby from prelobby

This commit is contained in:
Chris Forbes
2011-02-13 17:28:40 +13:00
parent 447b34ab38
commit 0f0facedd1
9 changed files with 40 additions and 20 deletions

View File

@@ -52,7 +52,8 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
var lobby = Game.OpenWindow(orderManager.world, "SERVER_LOBBY");
lobby.GetWidget<ChatDisplayWidget>("CHAT_DISPLAY").ClearChat();
lobby.GetWidget("CHANGEMAP_BUTTON").Visible = true;
lobby.GetWidget("LOCKTEAMS_CHECKBOX").Visible = true;
lobby.GetWidget("LOCKTEAMS_CHECKBOX").Visible = true;
lobby.GetWidget("ALLOWCHEATS_CHECKBOX").Visible = true;
lobby.GetWidget("DISCONNECT_BUTTON").Visible = true;
break;
}