Skip to content

Commit 77a15e2

Browse files
committed
Merge pull request godotengine#562 from marynate/PR-fix-internal-res-mod-time
Fix ERROR: FileAccessWindows::_get_modified_time: Method/Function Failed on windows
2 parents ff5a815 + 002db0b commit 77a15e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/editor/editor_node.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2263,6 +2263,8 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
22632263

22642264
if (!E->get()->can_reload_from_file())
22652265
continue;
2266+
if (!FileAccess::exists(E->get()->get_path()))
2267+
continue;
22662268
uint64_t mt = FileAccess::get_modified_time(E->get()->get_path());
22672269
if (mt!=E->get()->get_last_modified_time()) {
22682270
E->get()->reload_from_file();

0 commit comments

Comments
 (0)