mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 12:42:54 +08:00
Only go into failing state if previously online
This commit is contained in:
parent
02b95d3175
commit
9d8170efa0
@ -268,8 +268,12 @@ namespace osu.Game.Online.API
|
|||||||
//we might try again at an api level.
|
//we might try again at an api level.
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
State = APIState.Failing;
|
if (State == APIState.Online)
|
||||||
flushQueue();
|
{
|
||||||
|
State = APIState.Failing;
|
||||||
|
flushQueue();
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user