From 898ec8fcf1b51f99bf4eaa37597693bef2ce21d0 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Tue, 25 Jul 2017 11:48:04 -0500 Subject: [PATCH] Slightly adjust some of the ServerScript pull down logic in world --- world/net.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/world/net.cpp b/world/net.cpp index 879ab6d31..4f9b7b64b 100644 --- a/world/net.cpp +++ b/world/net.cpp @@ -110,15 +110,16 @@ int main(int argc, char** argv) { LogSys.LoadLogSettingsDefaults(); set_exception_handler(); - /* Download EQEmu Server Maintenance Script if doesn't exist */ - CheckForServerScript(); - /* If eqemu_config.json does not exist - create it from conversion... */ if (!std::ifstream("eqemu_config.json")) { CheckForServerScript(true); /* Run EQEmu Server script (Checks for database updates) */ system("perl eqemu_server.pl convert_xml"); } + else { + /* Download EQEmu Server Maintenance Script if doesn't exist */ + CheckForServerScript(); + } /* Database Version Check */ uint32 Database_Version = CURRENT_BINARY_DATABASE_VERSION;