Merge pull request #89261 from paulloz/core/fix-script-reloading-outside-script-editor
Fix how scripts reload outside of ScriptEditor
This commit is contained in:
@ -214,6 +214,7 @@ Error Resource::copy_from(const Ref<Resource> &p_resource) {
|
||||
}
|
||||
return OK;
|
||||
}
|
||||
|
||||
void Resource::reload_from_file() {
|
||||
String path = get_path();
|
||||
if (!path.is_resource_file()) {
|
||||
|
||||
Reference in New Issue
Block a user