diff options
author | Mattes D <github@xoft.cz> | 2014-09-08 16:31:44 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-08 16:31:44 +0200 |
commit | 9e36bbd069413e3bbec79d6408d9a54034bf79ff (patch) | |
tree | da72e578df116d3e7467323ff19fcf9e72ee6b50 /src/Root.cpp | |
parent | Exported cClientHandle:GetIPString() to Lua API. (diff) | |
parent | derp (diff) | |
download | cuberite-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 |
Diffstat (limited to 'src/Root.cpp')
-rw-r--r-- | src/Root.cpp | 1 |
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; } |