2
0
Fork 0

Update to 5058c2421c1149118051c587fe053aac452da73f

This commit is contained in:
JeremyStar™ 2024-04-12 17:01:03 +02:00
parent 298c3d2575
commit 0bd0121e9f
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -156,7 +156,7 @@ func reload_configuration(new_config: CoreConfiguration = CoreConfiguration.new(
var initialized = config != null
if initialized: loggeri.verb("Reloading CORE's configuration")
if config != null: config.queue_free()
config = new_config
config = new_config.duplicate()
if is_devmode(): # Override configuration in development mode
config.logger_level = CoreTypes.LoggerLevel.DIAG
if initialized: loggeri.verb("Overrode configuration (development mode)")