1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 22:20:53 +08:00

Fix broken conditional

This commit is contained in:
smoogipoo
2018-06-26 20:13:44 +09:00
Unverified
parent 02b733a42e
commit f1dfe04bd9
+1 -1
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;