fix(GravityGun): take control before releasing

This commit is contained in:
Yimura 2021-01-29 18:54:36 +01:00
parent 5e26bafe88
commit decbbb8fd9

View File

@ -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);