diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/char_select.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index a1ce5dec..801b0ffe 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -148,8 +148,9 @@ void CharSelectDialog::action(const std::string& eventId) if (n_character < MAX_SLOT + 1) { // Start new character dialog - new CharCreateDialog(this, mCharInfo->getPos(), mNetwork, mSex); mCharInfo->lock(); + new CharCreateDialog(this, mCharInfo->getPos(), mNetwork, mSex); + mCharInfo->unlock(); } } else if (eventId == "delete") |