1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

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:
Rémi Verschelde
2018-05-03 14:31:35 +02:00
committed by GitHub

View File

@@ -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
}
}