be fast by default; add 'Check Sync around Unsynced Code' option in debug panel

This commit is contained in:
Chris Forbes
2011-01-08 11:49:31 +13:00
parent 93a56f9a18
commit 303525a5ba
5 changed files with 20 additions and 2 deletions

View File

@@ -123,6 +123,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
var debug = bg.GetWidget("DEBUG_PANE");
debug.GetWidget<CheckboxWidget>("PERFDEBUG_CHECKBOX").Bind(Game.Settings.Debug, "PerfGraph");
debug.GetWidget<CheckboxWidget>("GAMETIME_CHECKBOX").Bind(Game.Settings.Game, "MatchTimer");
debug.GetWidget<CheckboxWidget>("CHECKUNSYNCED_CHECKBOX").Bind(Game.Settings.Debug, "SanityCheckUnsyncedCode");
bg.GetWidget("BUTTON_CLOSE").OnMouseUp = mi => {
Game.Settings.Save();