From 2bc0446de270c4b88731e038c76006c4d5455c89 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 2 Jul 2021 11:28:17 -0400 Subject: [PATCH] Update to issue #37, if we don't have correct db2 locale then we need to stop server. --- Source/Game/Server/WorldManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Server/WorldManager.cs b/Source/Game/Server/WorldManager.cs index d04d700ad..742a3d6b5 100644 --- a/Source/Game/Server/WorldManager.cs +++ b/Source/Game/Server/WorldManager.cs @@ -401,7 +401,7 @@ namespace Game if (m_availableDbcLocaleMask == null || !m_availableDbcLocaleMask[(int)m_defaultDbcLocale]) { Log.outFatal(LogFilter.ServerLoading, $"Unable to load db2 files for {m_defaultDbcLocale} locale specified in DBC.Locale config!"); - ShutdownServ(1, ShutdownMask.Force, ShutdownExitCode.Error); + Environment.Exit(1); } Log.outInfo(LogFilter.ServerLoading, "Loading hotfix blobs...");