From 1e2379aab0f1fff0aa7c55fc6330cc199ceafc4c Mon Sep 17 00:00:00 2001 From: Tracer <43095317+TracerDS@users.noreply.github.com> Date: Mon, 23 Dec 2024 11:49:00 +0100 Subject: [PATCH] Fix handling --- Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp b/Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp index 40b370c58f..a21f9ad706 100644 --- a/Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp +++ b/Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp @@ -5589,7 +5589,7 @@ bool CStaticFunctionDefinitions::SetModelHandling(std::uint32_t model, eHandling if (!pEntry) return false; - if (SetEntryHandling(pEntry, eProperty, fValue)) + if (!SetEntryHandling(pEntry, eProperty, fValue)) return false; m_HandlingManager->SetModelHandlingHasChanged(model, true);