mirror of https://github.com/godotengine/godot
Merge pull request #18588 from profan/fix/win-rename-sleep
Fix delay in rename_error windows save loop, should be 100msec, not 1sec
This commit is contained in:
commit
12c60eba19
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue