sleep after, set to 50ms

This commit is contained in:
onyx-and-iris 2024-06-27 03:39:52 +01:00
parent 7db10650fb
commit 41afc099dc

View File

@ -35,9 +35,9 @@ long login(T_VBVMR_INTERFACE *iVMR, int kind)
endwait = time(NULL) + timeout; endwait = time(NULL) + timeout;
do do
{ {
Sleep(100);
if ((rep = version(iVMR, &v)) == 0) if ((rep = version(iVMR, &v)) == 0)
break; break;
Sleep(50);
} while (time(NULL) < endwait); } while (time(NULL) < endwait);
} }
if (rep == 0) if (rep == 0)