Skip to content

Commit

Permalink
Set lobby join delay to 1 second
Browse files Browse the repository at this point in the history
Previously the delay was a ladder of 3 -> 7 -> 15 seconds and switching
between lobbies was annoying. Now it's faster and the change does not
seem to cause any issues. I still opted to keep a one second delay in
case removing the delay would break something.
  • Loading branch information
StenAL committed May 27, 2024
1 parent b87ac4d commit 6759ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/main/java/agolf/LobbySelectPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

public class LobbySelectPanel extends Panel implements ActionListener, MouseListener, ItemListener {

private static final int[] lobbyJoinDelays = new int[]{3000, 7000, 15000};
private static final int[] lobbyJoinDelays = new int[]{1000};
private static long[] lobbyJoinAvailableTimestamps;
private static boolean playHidden;
private GameContainer gameContainer;
Expand Down

0 comments on commit 6759ad7

Please sign in to comment.