mattgodbolt / xania

Xania MUD source
Other
58 stars 13 forks source link

Duplicate characters during char creation #280

Closed snellers closed 1 year ago

snellers commented 2 years ago

If you connect and create a new character but don't complete the "lobby" sequence, then in a second terminal do it again and use the same character name, you can end up with two active characters with identical names. The last one to save/quit will be the one that gets persisted.

There's probably a fix for this in the current incarnation of nanny(), to block creation of a new character if there's another already in the lobby by that name.