mirror of https://github.com/ppy/osu
Only go into failing state if previously online
This commit is contained in:
parent
02b95d3175
commit
9d8170efa0
|
@ -268,8 +268,12 @@ private bool handleWebException(WebException we)
|
|||
//we might try again at an api level.
|
||||
return false;
|
||||
|
||||
State = APIState.Failing;
|
||||
flushQueue();
|
||||
if (State == APIState.Online)
|
||||
{
|
||||
State = APIState.Failing;
|
||||
flushQueue();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue