summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-08 16:31:44 +0200
committerMattes D <github@xoft.cz>2014-09-08 16:31:44 +0200
commit9e36bbd069413e3bbec79d6408d9a54034bf79ff (patch)
treeda72e578df116d3e7467323ff19fcf9e72ee6b50
parentExported cClientHandle:GetIPString() to Lua API. (diff)
parentderp (diff)
downloadcuberite-9e36bbd069413e3bbec79d6408d9a54034bf79ff.tar
cuberite-9e36bbd069413e3bbec79d6408d9a54034bf79ff.tar.gz
cuberite-9e36bbd069413e3bbec79d6408d9a54034bf79ff.tar.bz2
cuberite-9e36bbd069413e3bbec79d6408d9a54034bf79ff.tar.lz
cuberite-9e36bbd069413e3bbec79d6408d9a54034bf79ff.tar.xz
cuberite-9e36bbd069413e3bbec79d6408d9a54034bf79ff.tar.zst
cuberite-9e36bbd069413e3bbec79d6408d9a54034bf79ff.zip
-rw-r--r--src/Root.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index f04cbf08b..8e88ba1af 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -151,6 +151,7 @@ void cRoot::Start(void)
m_MojangAPI.Start(IniFile); // Mojang API needs to be started before plugins, so that plugins may use it for DB upgrades on server init
if (!m_Server->InitServer(IniFile))
{
+ IniFile.WriteFile("Settings.ini");
LOGERROR("Failure starting server, aborting...");
return;
}