You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nice catch on this one. There are 3 references to create-player instead of create-character that need to be fixed in this file. As well, there are some references to the say function which I assume are leftovers from when this input-event used Broadcast on the main project repository. Those should be swapped out with socket.write, but don't forget to include \r\n at the end of the string in each call to socket.write to make sure you get the necessary line breaks.
Describe the bug
When the user should be re-prompted during the
create-character
input event, it emitscreate-player
instead of its own event name.To Reproduce
Try entering a character name that is already used.
Expected behavior
I would expect to be prompted again. Instead, I'm fairly certain it hangs and the player has to disconnect.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: