Locate devmode code largely in the trait, reduce exploitability.

This commit is contained in:
alzeih
2010-07-26 14:58:23 +12:00
parent 10c7674433
commit 30241ddccc
7 changed files with 85 additions and 74 deletions

View File

@@ -20,13 +20,12 @@ namespace OpenRA.GameRules
public class UserSettings
{
// Debug settings
public bool UnitDebug = false;
public bool PathDebug = false;
public bool PerfDebug = false;
public bool IndexDebug = false;
public bool RecordSyncReports = true;
public bool ShowGameTimer = true;
public bool DeveloperMode = false;
public bool UnitDebug = false;
public bool IndexDebug = false;
// Window settings
public WindowMode WindowMode = WindowMode.PseudoFullscreen;