mirror of https://github.com/ppy/osu
Fix broken conditional
This commit is contained in:
parent
02b733a42e
commit
f1dfe04bd9
|
@ -148,7 +148,7 @@ private void run()
|
|||
// The Success callback event is fired on the main thread, so we should wait for that to run before proceeding.
|
||||
// Without this, we will end up circulating this Connecting loop multiple times and queueing up many web requests
|
||||
// before actually going online.
|
||||
while (State > APIState.Offline)
|
||||
while (State > APIState.Offline && State < APIState.Online)
|
||||
Thread.Sleep(500);
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue