Skip to content

Commit

Permalink
Increase 'queue position restore' timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
matte-ek committed Dec 23, 2023
1 parent 2448afb commit d5e23c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BanchoMultiplayerBot/Behaviour/AutoHostRotateBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ private void RestorePlayerQueuePosition(MultiplayerPlayer player)
return;

// Make sure this was recent, as what would happen if accidentally disconnected/crashed.
if (DateTime.Now >= previousQueuePosition.Time.AddSeconds(30))
if (DateTime.Now >= previousQueuePosition.Time.AddSeconds(60))
return;

if (0 > previousQueuePosition.QueuePosition || previousQueuePosition.QueuePosition >= Queue.Count)
Expand Down

0 comments on commit d5e23c1

Please sign in to comment.