From 943ab29e609d48b14f25d83eaf6e3e8f081abfc4 Mon Sep 17 00:00:00 2001 From: Tim Leonard Date: Mon, 8 Jan 2024 21:40:28 +0000 Subject: [PATCH] Fixed the soul memory matching disable option for dark souls 2. --- Source/Server/Config/RuntimeConfig.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Server/Config/RuntimeConfig.cpp b/Source/Server/Config/RuntimeConfig.cpp index 62925ace..79cc18d9 100644 --- a/Source/Server/Config/RuntimeConfig.cpp +++ b/Source/Server/Config/RuntimeConfig.cpp @@ -202,6 +202,11 @@ int RuntimeConfigSoulMemoryMatchingParameters::CalculateTier(int SoulMemory) con bool RuntimeConfigSoulMemoryMatchingParameters::CheckMatch(int HostSoulMemory, int ClientSoulMemory, bool UsingPassword) const { + if (DisableSoulMemoryMatching) + { + return true; + } + int HostSoulTier = CalculateTier(HostSoulMemory); int ClientSoulTier = CalculateTier(ClientSoulMemory);