Fixed #4697 - Added lobby disconnect hotkey, and renamed the button for single player.
Fixed #4697 - Corrected a misspelled hotkey.
This commit is contained in:
@@ -441,6 +441,9 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
var disconnectButton = lobby.Get<ButtonWidget>("DISCONNECT_BUTTON");
|
||||
disconnectButton.OnClick = () => { CloseWindow(); onExit(); };
|
||||
|
||||
if (this.skirmishMode)
|
||||
disconnectButton.Text = "Cancel";
|
||||
|
||||
bool teamChat = false;
|
||||
var chatLabel = lobby.Get<LabelWidget>("LABEL_CHATTYPE");
|
||||
var chatTextField = lobby.Get<TextFieldWidget>("CHAT_TEXTFIELD");
|
||||
|
||||
@@ -161,6 +161,7 @@ Container@SERVER_LOBBY:
|
||||
Width:140
|
||||
Height:35
|
||||
Text:Leave Game
|
||||
Key: escape
|
||||
Button@MUSIC_BUTTON:
|
||||
X:450
|
||||
Y:499
|
||||
|
||||
@@ -164,4 +164,5 @@ Background@SERVER_LOBBY:
|
||||
Height:25
|
||||
Text:Disconnect
|
||||
Font:Bold
|
||||
Key: escape
|
||||
TooltipContainer@TOOLTIP_CONTAINER:
|
||||
Reference in New Issue
Block a user