If server fails init, save any changed or generated settings.
This commit is contained in:
parent
c5cd75fae8
commit
5f207c8bb7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user