diff options
author | rune-scape <allie.smith.epic@gmail.com> | 2023-12-29 23:06:54 -0800 |
---|---|---|
committer | rune-scape <allie.smith.epic@gmail.com> | 2024-01-02 17:56:52 -0800 |
commit | cde478bda6a7ca5239daf96d0fd3cb6344c064a6 (patch) | |
tree | b26ee2f079e6868ec20182441011e517175e7e8b /editor/plugins/script_text_editor.cpp | |
parent | 13a0d6e9b253654f5cc2a44f3d0b3cae10440443 (diff) | |
download | redot-engine-cde478bda6a7ca5239daf96d0fd3cb6344c064a6.tar.gz |
Hot-reload only changed scripts
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index eb934da4dd..a9f44a67f0 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -822,7 +822,7 @@ void ScriptEditor::_update_modified_scripts_for_external_editor(Ref<Script> p_fo scr->set_last_modified_time(rel_scr->get_last_modified_time()); scr->update_exports(); - trigger_live_script_reload(); + trigger_live_script_reload(scr->get_path()); } } } |