diff options
author | worktycho <work.tycho@gmail.com> | 2014-09-08 16:15:31 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-09-08 16:15:31 +0200 |
commit | 4613fabd45e61700271d3dba186cb6564e07284b (patch) | |
tree | da72e578df116d3e7467323ff19fcf9e72ee6b50 /src/Root.cpp | |
parent | If server fails init, save any changed or generated settings. (diff) | |
download | cuberite-4613fabd45e61700271d3dba186cb6564e07284b.tar cuberite-4613fabd45e61700271d3dba186cb6564e07284b.tar.gz cuberite-4613fabd45e61700271d3dba186cb6564e07284b.tar.bz2 cuberite-4613fabd45e61700271d3dba186cb6564e07284b.tar.lz cuberite-4613fabd45e61700271d3dba186cb6564e07284b.tar.xz cuberite-4613fabd45e61700271d3dba186cb6564e07284b.tar.zst cuberite-4613fabd45e61700271d3dba186cb6564e07284b.zip |
Diffstat (limited to 'src/Root.cpp')
-rw-r--r-- | src/Root.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index a2fbda812..8e88ba1af 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -151,7 +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") + IniFile.WriteFile("Settings.ini"); LOGERROR("Failure starting server, aborting..."); return; } |