Skip to content

Commit

Permalink
Ping for 3 seconds rather than 5 ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed May 6, 2024
1 parent df2041d commit 6273364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Fika.Core/UI/Custom/MatchMakerUIScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ private IEnumerator JoinMatch(string profileId, string serverId, Button button)
pingingClient.NetClient.PollEvents();
success = pingingClient.Received;
}
yield return new WaitForFixedUpdate();
} while (!success && attempts < 5);
yield return new WaitForSeconds(0.1f);
} while (!success && attempts < 30);

if (!success)
{
Expand Down

0 comments on commit 6273364

Please sign in to comment.