mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Fix API queue only being flushed once while in a failing state
This commit is contained in:
parent
e4d134a820
commit
964ceddf83
@ -419,7 +419,7 @@ namespace osu.Game.Online.API
|
||||
failureCount++;
|
||||
log.Add($@"API failure count is now {failureCount}");
|
||||
|
||||
if (failureCount >= 3 && State.Value == APIState.Online)
|
||||
if (failureCount >= 3)
|
||||
{
|
||||
state.Value = APIState.Failing;
|
||||
flushQueue();
|
||||
|
Loading…
Reference in New Issue
Block a user