From fed65ba716182726ccd1faec0f475503f606bc88 Mon Sep 17 00:00:00 2001 From: LanzaSchneider Date: Thu, 29 Jan 2026 19:00:34 +0800 Subject: [PATCH] Fix `script_language_extension` compilation with deprecated=no --- core/object/script_language_extension.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/object/script_language_extension.cpp b/core/object/script_language_extension.cpp index 336f980dc9b..9c5942e9735 100644 --- a/core/object/script_language_extension.cpp +++ b/core/object/script_language_extension.cpp @@ -104,8 +104,8 @@ void ScriptLanguageExtension::_bind_methods() { GDVIRTUAL_BIND(_validate, "script", "path", "validate_functions", "validate_errors", "validate_warnings", "validate_safe_lines"); GDVIRTUAL_BIND(_validate_path, "path"); - GDVIRTUAL_BIND(_create_script); #ifndef DISABLE_DEPRECATED + GDVIRTUAL_BIND(_create_script); GDVIRTUAL_BIND(_has_named_classes); #endif GDVIRTUAL_BIND(_supports_builtin_mode);