diff options
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 3ba0ffc70..a9b76a10e 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -423,14 +423,18 @@ void LocalPlayer::setGMLevel(const int level) if (level > 0) { setGM(true); - if (statusWindow != nullptr) - statusWindow->updateLevelLabel(); if (chatWindow != nullptr) { chatWindow->loadGMCommands(); chatWindow->showGMTab(); } } + else + { + setGM(false); + } + if (statusWindow != nullptr) + statusWindow->updateLevelLabel(); } void LocalPlayer::nextTile(unsigned char dir A_UNUSED = 0) |