mirror of
https://github.com/ppy/osu.git
synced 2026-05-23 03:59:52 +08:00
Fix API queue only being flushed once while in a failing state
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user