Remember the last map. Disable the server desc and password fields. Draw the chat entry box on top of the display box.

This commit is contained in:
Paul Chote
2011-05-08 17:01:12 +12:00
parent 805f61cc4b
commit fdf9927854
5 changed files with 29 additions and 19 deletions

View File

@@ -199,6 +199,8 @@ namespace OpenRA.Mods.Cnc.Widgets
var onSelect = new Action<Map>(m =>
{
orderManager.IssueOrder(Order.Command("map " + m.Uid));
Game.Settings.Server.LastMap = m.Uid;
Game.Settings.Save();
Widget.CloseWindow();
});