Update to 5058c2421c1149118051c587fe053aac452da73f
This commit is contained in:
parent
298c3d2575
commit
0bd0121e9f
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ func reload_configuration(new_config: CoreConfiguration = CoreConfiguration.new(
|
||||||
var initialized = config != null
|
var initialized = config != null
|
||||||
if initialized: loggeri.verb("Reloading CORE's configuration")
|
if initialized: loggeri.verb("Reloading CORE's configuration")
|
||||||
if config != null: config.queue_free()
|
if config != null: config.queue_free()
|
||||||
config = new_config
|
config = new_config.duplicate()
|
||||||
if is_devmode(): # Override configuration in development mode
|
if is_devmode(): # Override configuration in development mode
|
||||||
config.logger_level = CoreTypes.LoggerLevel.DIAG
|
config.logger_level = CoreTypes.LoggerLevel.DIAG
|
||||||
if initialized: loggeri.verb("Overrode configuration (development mode)")
|
if initialized: loggeri.verb("Overrode configuration (development mode)")
|
||||||
|
|
Loading…
Reference in a new issue