diff --git a/classes/deck/logger.gd b/classes/deck/logger.gd index 313c655..9e22d76 100644 --- a/classes/deck/logger.gd +++ b/classes/deck/logger.gd @@ -59,12 +59,12 @@ func toast_error(text: String) -> void: func toast(text: String, type: LogType) -> void: - log_toast.emit(text, type) toast_history.append( { "text": text, "type": type, } ) + log_toast.emit(text, type) if OS.has_feature("editor"): prints("(t)", LogType.keys()[type].capitalize(), text)