1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Always soft-reload scripts

This commit is contained in:
kobewi
2021-11-19 17:45:16 +01:00
parent 4a127fd2cc
commit ca4c63d654
3 changed files with 18 additions and 11 deletions

View File

@@ -2339,7 +2339,7 @@ Error ResourceFormatSaverGDScript::save(const String &p_path, const RES &p_resou
memdelete(file);
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;