From f11b8f95f024b70d023f646118c2c99e6d86259e Mon Sep 17 00:00:00 2001 From: Bakugo <6014513+bakugo@users.noreply.github.com> Date: Tue, 12 Aug 2025 21:21:06 +0100 Subject: [PATCH] Fix TF_COND_ROCKETPACK not being removed if player has no RocketPack --- src/game/shared/tf/tf_player_shared.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/shared/tf/tf_player_shared.cpp b/src/game/shared/tf/tf_player_shared.cpp index abe67cf9c09..13d425f5ee3 100644 --- a/src/game/shared/tf/tf_player_shared.cpp +++ b/src/game/shared/tf/tf_player_shared.cpp @@ -3135,6 +3135,11 @@ void CTFPlayerShared::ConditionThink( void ) #endif } } + else + { + // RocketPack not found, may have been unequipped, or we may be a Medic who inherited the cond + RemoveCond( TF_COND_ROCKETPACK ); + } } }