Fix broken conditional

This commit is contained in:
smoogipoo
2018-06-26 20:13:44 +09:00
parent 02b733a42e
commit f1dfe04bd9

View File

@ -148,7 +148,7 @@ namespace osu.Game.Online.API
// 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;