Modified Logger
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Firebird2D.Configuration
|
||||
|
||||
public bool FullScreen { get { return _fullScreen; } set { _fullScreen = value; updateConfig(); } }
|
||||
|
||||
public bool LogActive { get { return _logActive; } set { _logActive = value; GameLogger.logActive = value; updateConfig(); } }
|
||||
public bool LogActive { get { return _logActive; } set { _logActive = value; GameLogger.LogActive = value; updateConfig(); } }
|
||||
|
||||
private static readonly string ConfigSchema = "Configuration/ConfigurationSchema/ConfigSchema.json";
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace Firebird2D.Configuration
|
||||
_videoMode.Height = uint.Parse(_configurationSection["ScreenResolution:y"]);
|
||||
_fullScreen = bool.Parse(_configurationSection["Fullscreen"]);
|
||||
_logActive = bool.Parse(_configurationSection["Log"]);
|
||||
GameLogger.logActive = _logActive;
|
||||
GameLogger.LogActive = _logActive;
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user