Merge pull request #95730 from voidedWarranties/fix_reload_scripts_bind
Fix virtual binding for `ScriptLanguageExtension::_reload_scripts`
This commit is contained in:
commit
ab2b06b8b1
|
@ -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);
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Reference in New Issue