1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:05:37 +08:00

Only go into failing state if previously online

This commit is contained in:
smoogipoo 2018-12-19 14:32:43 +09:00
parent 02b95d3175
commit 9d8170efa0

View File

@ -268,8 +268,12 @@ namespace osu.Game.Online.API
//we might try again at an api level.
return false;
State = APIState.Failing;
flushQueue();
if (State == APIState.Online)
{
State = APIState.Failing;
flushQueue();
}
return true;
}