Skip to content

Commit

Permalink
Limit player name on signup to 12 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
conker-rsc committed Dec 23, 2023
1 parent 3f133f5 commit 48960e8
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 48960e8

Please sign in to comment.