added perf text option to settings menu
This commit is contained in:
@@ -67,6 +67,9 @@ namespace OpenRA.Widgets.Delegates
|
||||
if (w.Id == "SETTINGS_CHECKBOX_PERFGRAPH")
|
||||
return Game.Settings.PerfGraph;
|
||||
|
||||
if (w.Id == "SETTINGS_CHECKBOX_PERFTEXT")
|
||||
return Game.Settings.PerfText;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -96,6 +99,12 @@ namespace OpenRA.Widgets.Delegates
|
||||
return true;
|
||||
}
|
||||
|
||||
if (w.Id == "SETTINGS_CHECKBOX_PERFTEXT")
|
||||
{
|
||||
Game.Settings.PerfText = !Game.Settings.PerfText;
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user