Skip to content

Commit af1c47a

Browse files
Merge pull request #102 from ithinkandicode/log-fatal-add-missing-filelog
`log_fatal` - add the missing log to file
2 parents d545ac0 + b412fed commit af1c47a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

addons/mod_loader/mod_loader_utils.gd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ static func _loader_log(message: String, mod_name: String, log_type: String = "i
6565

6666
match log_type.to_lower():
6767
"fatal-error":
68+
push_error(message)
6869
_write_to_log_file(log_message)
6970
_write_to_log_file(JSON.print(get_stack(), " "))
7071
assert(false, message)

0 commit comments

Comments
 (0)