diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 798d6010b..c9f12fc66 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -280,8 +280,11 @@ static void createGuiWindows() battleChatTab = nullptr; } - if (player_node && !gmChatTab && player_node->getGMLevel() > 0) + if (player_node && !gmChatTab && config.getBoolValue("enableGmTab") + && player_node->getGMLevel() > 0) + { gmChatTab = new GmTab(chatWindow); + } if (config.getBoolValue("logToChat")) logger->setChatWindow(chatWindow); |