fix(GravityGun): take control before releasing

This commit is contained in:
Yimura 2021-01-29 18:54:36 +01:00
parent 5314ab3077
commit cb5f3d58a7
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

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