Skip to content

Commit

Permalink
fix: always use warnings for deprecations in standalone builds (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qubus0 authored Jun 13, 2023
1 parent 142664b commit 8f030b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/mod_loader/api/deprecated.gd
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static func deprecated_message(msg: String, since_version: String = "") -> void:
# Internal func for logging with support to trigger warnings instead of fatal
# errors
static func _deprecated_log(msg: String) -> void:
if ModLoaderStore.ml_options.ignore_deprecated_errors:
if ModLoaderStore.ml_options.ignore_deprecated_errors or OS.has_feature("standalone"):
ModLoaderLog.warning(msg, LOG_NAME)
else:
ModLoaderLog.fatal(msg, LOG_NAME)

0 comments on commit 8f030b2

Please sign in to comment.