From cb5f3d58a74bffff7f231f61d1af5d064a56d741 Mon Sep 17 00:00:00 2001 From: Yimura Date: Fri, 29 Jan 2021 18:54:36 +0100 Subject: [PATCH] fix(GravityGun): take control before releasing --- BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp b/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp index 2a22afa3..3ab214af 100644 --- a/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp +++ b/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp @@ -99,6 +99,8 @@ namespace big } else if (entity != 0) { + functions::take_control_of_entity(entity); + ENTITY::SET_ENTITY_COLLISION(entity, true, true); ENTITY::SET_ENTITY_ALPHA(entity, 255, 0);