Skip to content

Commit

Permalink
Limit player name on signup to 12 chars (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
conker-rsc authored Dec 24, 2023
1 parent d770066 commit 9cd1d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Game/AccountManagement.java
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ public static void panel_welcome_hook(int n) {
Panel.addButtonBackTo(Client.panelRegister, 256, yPos + 17, 250, 34);
Panel.addCenterTextTo(Client.panelRegister, 256, yPos + 8, "Choose a Username", 4, false);
Client.chooseUserInput =
Panel.addInputTo(Client.panelRegister, 256, yPos + 25, 200, 40, 4, 320, false, false);
Panel.addInputTo(Client.panelRegister, 256, yPos + 25, 200, 40, 4, 12, false, false);
Panel.setFocus(Client.panelRegister, Client.chooseUserInput);
yPos += 40;
Panel.addButtonBackTo(Client.panelRegister, 141, yPos + 17, 220, 34);
Expand Down

0 comments on commit 9cd1d32

Please sign in to comment.