diff options
author | worktycho <work.tycho@gmail.com> | 2014-09-08 15:57:58 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-09-08 15:57:58 +0200 |
commit | 5f207c8bb799dc5619586c2e885f7a692a97d915 (patch) | |
tree | 83458cd0a945197b16ef1fdab20408e530ca363d /src/Root.cpp | |
parent | Exported cClientHandle:GetIPString() to Lua API. (diff) | |
download | cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar.gz cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar.bz2 cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar.lz cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar.xz cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.tar.zst cuberite-5f207c8bb799dc5619586c2e885f7a692a97d915.zip |
Diffstat (limited to '')
-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..a2fbda812 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; } |