From d65ea6fb9cc26359bb6f2aa704b2a6b7604c3fd3 Mon Sep 17 00:00:00 2001 From: voidedWarranties Date: Sat, 17 Aug 2024 20:45:22 -0700 Subject: [PATCH] Fix virtual binding for `ScriptLanguageExtension::_reload_scripts` --- core/object/script_language_extension.cpp | 1 + doc/classes/ScriptLanguageExtension.xml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/core/object/script_language_extension.cpp b/core/object/script_language_extension.cpp index 7b643e46378..73f7ec5a544 100644 --- a/core/object/script_language_extension.cpp +++ b/core/object/script_language_extension.cpp @@ -142,6 +142,7 @@ void ScriptLanguageExtension::_bind_methods() { GDVIRTUAL_BIND(_debug_get_current_stack_info); GDVIRTUAL_BIND(_reload_all_scripts); + GDVIRTUAL_BIND(_reload_scripts, "scripts", "soft_reload"); GDVIRTUAL_BIND(_reload_tool_script, "script", "soft_reload"); GDVIRTUAL_BIND(_get_recognized_extensions); diff --git a/doc/classes/ScriptLanguageExtension.xml b/doc/classes/ScriptLanguageExtension.xml index cc47ca274d1..f9d9e4f513e 100644 --- a/doc/classes/ScriptLanguageExtension.xml +++ b/doc/classes/ScriptLanguageExtension.xml @@ -314,6 +314,13 @@ + + + + + + +