Fix two extra robust bugs

Trays have no attack cooldown because they have this crazy-long snowflake code for attacks.

Beds (and children like chairs) don't track target for grab-buckle do_after, letting them run away and get teleported back to the chair and buckled regardless of their efforts.
This commit is contained in:
Arokha Sieyes
2017-03-03 16:25:53 -05:00
parent 8d82920e52
commit f7c22dc54d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
var/max_carry = 10
/obj/item/weapon/tray/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
// Drop all the things. All of them.
overlays.Cut()
for(var/obj/item/I in carrying)