Skip to content

Commit 645fbfd

Browse files
chore: commit KANAjetzt's suggestion
Co-authored-by: KANAjetzt <[email protected]>
1 parent 83dde99 commit 645fbfd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

addons/mod_loader/api/log.gd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,10 @@ static func _log(message: String, mod_name: String, log_type: String = "info", o
468468
_print_rich(log_entry.get_prefix(), message, debug_color, debug_bold)
469469
_write_to_log_file(log_entry.get_entry())
470470
"hint":
471-
if ModLoaderStore.has_feature.editor:
472-
if verbosity >= VERBOSITY_LEVEL.DEBUG:
471+
if (
472+
ModLoaderStore.has_feature.editor and
473+
verbosity >= VERBOSITY_LEVEL.DEBUG
474+
):
473475
_print_rich(log_entry.get_prefix(), message, hint_color)
474476

475477

0 commit comments

Comments
 (0)