From e5267c7ec89a2f81c1e93119cb6434baa3e96d70 Mon Sep 17 00:00:00 2001 From: celisej567 Date: Sat, 13 Dec 2025 21:55:48 +0300 Subject: [PATCH] Fix logic_branch OnRemove doesnt call I/O's --- src/game/server/logicentities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/logicentities.cpp b/src/game/server/logicentities.cpp index 42b911006eb..45e126832e4 100644 --- a/src/game/server/logicentities.cpp +++ b/src/game/server/logicentities.cpp @@ -2244,7 +2244,7 @@ void CLogicBranch::UpdateOnRemove() CBaseEntity *pEntity = m_Listeners.Element( i ).Get(); if ( pEntity ) { - g_EventQueue.AddEvent( this, "_OnLogicBranchRemoved", 0, this, this ); + g_EventQueue.AddEvent( pEntity, "_OnLogicBranchRemoved", 0, this, this ); } }