summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 76cf792e..5b37d409 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -234,12 +234,8 @@ void createGuiWindows(Network *network)
itemShortcutWindow->getWindowName() + "Visible", true));
emoteShortcutWindow->setVisible((bool) config.getValue(
emoteShortcutWindow->getWindowName() + "Visible", true));
-
- if (!(bool) config.getValue("MinimapVisible", true))
- minimap->toggle();
-
- if (config.getValue("logToChat", 0))
- logger->setChatWindow(chatWindow);
+ minimap->setVisible((bool) config.getValue(
+ minimap->getWindowName() + "Visible", true));
}
/**