浏览代码

Fix delay in rename_error windows save loop, should be 100msec, not 1sec

Robin Hübner 7 年之前
父节点
当前提交
caa887f317
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/windows/file_access_windows.cpp

+ 1 - 1
drivers/windows/file_access_windows.cpp

@@ -162,7 +162,7 @@ void FileAccessWindows::close() {
 			}
 			if (rename_error) {
 				attempts--;
-				OS::get_singleton()->delay_usec(1000000); //wait 100msec and try again
+				OS::get_singleton()->delay_usec(100000); // wait 100msec and try again
 			}
 		}