mirror of
https://github.com/ppy/osu
synced 2025-01-20 13:00:54 +00:00
Fix api get user request never failing
This commit is contained in:
parent
2b1466ef58
commit
aeb2186539
@ -145,7 +145,8 @@ namespace osu.Game.Online.API
|
|||||||
|
|
||||||
if (!handleRequest(userReq))
|
if (!handleRequest(userReq))
|
||||||
{
|
{
|
||||||
Thread.Sleep(500);
|
if (State == APIState.Connecting)
|
||||||
|
State = APIState.Failing;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user