remove redundant devmode checkbox in settings -- 'enable cheats' does it
This commit is contained in:
@@ -140,14 +140,6 @@ namespace OpenRA.Widgets.Delegates
|
||||
return true;
|
||||
};
|
||||
|
||||
var devmode = debug.GetWidget<CheckboxWidget>("DEV_MODE_ENABLED");
|
||||
devmode.Checked = () => Game.Settings.DeveloperMode;
|
||||
devmode.OnMouseDown = mi =>
|
||||
{
|
||||
Game.Settings.DeveloperMode ^= true;
|
||||
return true;
|
||||
};
|
||||
|
||||
bg.GetWidget("BUTTON_CLOSE").OnMouseUp = mi => {
|
||||
Game.Settings.Save();
|
||||
Widget.RootWidget.CloseWindow();
|
||||
|
||||
@@ -207,10 +207,3 @@ Container@ROOT:
|
||||
Width:300
|
||||
Height:20
|
||||
Text:Show Game Time Counter
|
||||
Checkbox:DEV_MODE_ENABLED
|
||||
Id:DEV_MODE_ENABLED
|
||||
X:0
|
||||
Y:90
|
||||
Width:300
|
||||
Height:20
|
||||
Text:Enable Developer Mode
|
||||
@@ -198,10 +198,3 @@ Background@SETTINGS_MENU:
|
||||
Width:300
|
||||
Height:20
|
||||
Text:Show Game Time Counter
|
||||
Checkbox:DEV_MODE_ENABLED
|
||||
Id:DEV_MODE_ENABLED
|
||||
X:0
|
||||
Y:90
|
||||
Width:300
|
||||
Height:20
|
||||
Text:Enable Developer Mode
|
||||
Reference in New Issue
Block a user