Prevent falling from sudden gravity restoration if buckled.

* Also stops the floating animation while you're buckled, so you know.
* Resolves https://github.com/VOREStation/VOREStation/issues/1458
This commit is contained in:
Leshana
2017-05-25 16:27:55 -04:00
parent a7d99942f4
commit dfbba572cf
3 changed files with 9 additions and 1 deletions
+2
View File
@@ -42,6 +42,7 @@
M.facing_dir = null
M.set_dir(buckle_dir ? buckle_dir : dir)
M.update_canmove()
M.update_floating( M.Check_Dense_Object() )
buckled_mob = M
post_buckle_mob(M)
@@ -53,6 +54,7 @@
buckled_mob.buckled = null
buckled_mob.anchored = initial(buckled_mob.anchored)
buckled_mob.update_canmove()
buckled_mob.update_floating( buckled_mob.Check_Dense_Object() )
buckled_mob = null
post_buckle_mob(.)