Fixes being able to buckle more than one mob to bucklable things

This commit is contained in:
Yoshax
2016-06-01 16:34:07 +01:00
parent 9d47019f32
commit 0fac31fad3
2 changed files with 10 additions and 0 deletions
@@ -129,6 +129,9 @@
else if(istype(W, /obj/item/weapon/grab))
var/obj/item/weapon/grab/G = W
var/mob/living/affecting = G.affecting
if(has_buckled) //Handles trying to buckle someone else to a chair when someone else is on it
user << "<span class='notice'>\The [src] already has someone buckled to it.</span>"
return
user.visible_message("<span class='notice'>[user] attempts to buckle [affecting] into \the [src]!</span>")
if(do_after(user, 20))
affecting.loc = loc