From 99ce061340f99b200c96dd4910bdff4609e835f0 Mon Sep 17 00:00:00 2001 From: red-001 Date: Wed, 29 Jul 2015 14:01:14 +0100 Subject: [PATCH] add setting to defaultsettings.cpp --- src/defaultsettings.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 42c617513..5ab9183d4 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -31,6 +31,7 @@ void set_default_settings(Settings *settings) settings->setDefault("name", ""); // Client stuff + settings->setDefault("remote_port", "30000"); settings->setDefault("keymap_forward", "KEY_KEY_W"); settings->setDefault("keymap_backward", "KEY_KEY_S"); @@ -224,6 +225,8 @@ void set_default_settings(Settings *settings) settings->setDefault("font_size", fontsize.str()); settings->setDefault("mono_font_size", fontsize.str()); #endif + //Main menu + settings->setDefault("enable_modmanager", "false"); // Server stuff // "map-dir" doesn't exist by default. @@ -328,6 +331,7 @@ void set_default_settings(Settings *settings) settings->setDefault("language", ""); + #ifdef __ANDROID__ settings->setDefault("screenW", "0"); settings->setDefault("screenH", "0");