Fix diagnostic logging issue

This commit is contained in:
JeremyStar™ 2024-02-10 17:26:03 +01:00
parent 75de2a3644
commit 40555114ae

View file

@ -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")