Z-Level Grab Fixes (#7498)

This commit is contained in:
Geeves
2019-11-24 21:56:15 +02:00
committed by Werner
parent 0dba96832b
commit d8ac1239fd
3 changed files with 11 additions and 3 deletions

View File

@@ -372,6 +372,7 @@
animate(affecting, pixel_x = 0, pixel_y = 0, 4, 1, LINEAR_EASING)
affecting.layer = 4
if(affecting)
ADD_FALLING_ATOM(affecting) // Makes the grabbee check if they can fall.
affecting.grabbed_by -= src
affecting = null
if(assailant)