From f98570200f4c8a4e413ae198291d9d87cc555fba Mon Sep 17 00:00:00 2001 From: Tracer <43095317+TracerDS@users.noreply.github.com> Date: Mon, 23 Dec 2024 12:24:09 +0100 Subject: [PATCH] Fix model handling - #3898 (#3899) 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);