From 40555114aedb7231435cfedc6ed6b2c3e06d4021 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 10 Feb 2024 17:26:03 +0100 Subject: [PATCH] Fix diagnostic logging issue --- src/logger.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger.gd b/src/logger.gd index f05fe50..679cb64 100644 --- a/src/logger.gd +++ b/src/logger.gd @@ -59,7 +59,7 @@ func _log(level: CoreTypes.LoggerLevel, message: String) -> void: CoreTypes.LoggerLevel.DIAG: format = format.replace("%level%", "DIAG") format_newline = format_newline.replace("%level%", "DIAG") - format.replace("%color%", "[color=dark_gray]") + format = format.replace("%color%", "[color=dark_gray]") CoreTypes.LoggerLevel.VERB: format = format.replace("%level%", "VERB") format_newline = format_newline.replace("%level%", "VERB")