Fix virtual binding for `ScriptLanguageExtension::_reload_scripts`

(cherry picked from commit d65ea6fb9c)
This commit is contained in:
voidedWarranties 2024-08-17 20:45:22 -07:00 committed by Rémi Verschelde
parent c684d65c64
commit df522db6f0
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 8 additions and 0 deletions

View File

@ -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);

View File

@ -314,6 +314,13 @@
<description>
</description>
</method>
<method name="_reload_scripts" qualifiers="virtual">
<return type="void" />
<param index="0" name="scripts" type="Array" />
<param index="1" name="soft_reload" type="bool" />
<description>
</description>
</method>
<method name="_reload_tool_script" qualifiers="virtual">
<return type="void" />
<param index="0" name="script" type="Script" />