Merge pull request #55134 from KoBeWi/script_pillow_or_something

Always soft-reload scripts
This commit is contained in:
Rémi Verschelde 2022-05-17 15:09:09 +02:00 committed by GitHub
commit 5b02415fd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 11 deletions

View file

@ -2372,7 +2372,7 @@ Error ResourceFormatSaverGDScript::save(const String &p_path, const Ref<Resource
}
if (ScriptServer::is_reload_scripts_on_save_enabled()) {
GDScriptLanguage::get_singleton()->reload_tool_script(p_resource, false);
GDScriptLanguage::get_singleton()->reload_tool_script(p_resource, true);
}
return OK;