Explorar o código

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

Robin Hübner %!s(int64=7) %!d(string=hai) anos
pai
achega
caa887f317
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 			}
 		}