Merge pull request #28434 from Cyberboss/BuckleFix

Fixes things getting unbuckled in nullspace
This commit is contained in:
Joan Lung
2017-06-14 21:57:35 -04:00
committed by GitHub
2 changed files with 2 additions and 5 deletions
+2
View File
@@ -197,6 +197,8 @@
QDEL_NULL(proximity_monitor)
QDEL_NULL(language_holder)
unbuckle_all_mobs(force=1)
. = ..()
if(loc)
-5
View File
@@ -26,11 +26,6 @@
if(user_buckle_mob(M, user))
return 1
//Cleanup
/atom/movable/Destroy()
. = ..()
unbuckle_all_mobs(force=1)
/atom/movable/proc/has_buckled_mobs()
if(!buckled_mobs)
return FALSE