Skip to content

Commit 8f030b2

Browse files
authored
fix: always use warnings for deprecations in standalone builds (#276)
1 parent 142664b commit 8f030b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/mod_loader/api/deprecated.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static func deprecated_message(msg: String, since_version: String = "") -> void:
3737
# Internal func for logging with support to trigger warnings instead of fatal
3838
# errors
3939
static func _deprecated_log(msg: String) -> void:
40-
if ModLoaderStore.ml_options.ignore_deprecated_errors:
40+
if ModLoaderStore.ml_options.ignore_deprecated_errors or OS.has_feature("standalone"):
4141
ModLoaderLog.warning(msg, LOG_NAME)
4242
else:
4343
ModLoaderLog.fatal(msg, LOG_NAME)

0 commit comments

Comments
 (0)