fix
This commit is contained in:
@@ -71,13 +71,18 @@
|
||||
to_chat(A,"<span class='userdanger'>[user]'s magboots press down on you, crushing you!</span>")
|
||||
A.emote("scream")
|
||||
|
||||
/obj/item/clothing/shoes/magboots/crushing/equipped(mob/user,slot)
|
||||
/obj/item/clothing/shoes/magboots/crushing/attack_self(mob/user)
|
||||
. = ..()
|
||||
if (slot == SLOT_SHOES)
|
||||
if (magpulse)
|
||||
RegisterSignal(user, COMSIG_MOVABLE_MOVED,.proc/crush)
|
||||
else
|
||||
UnregisterSignal(user,COMSIG_MOVABLE_MOVED)
|
||||
|
||||
/obj/item/clothing/shoes/magboots/crushing/equipped(mob/user,slot)
|
||||
. = ..()
|
||||
if (slot == SLOT_SHOES)
|
||||
RegisterSignal(user, COMSIG_MOVABLE_MOVED,.proc/crush)
|
||||
|
||||
/obj/item/clothing/shoes/magboots/crushing/dropped(mob/user)
|
||||
. = ..()
|
||||
UnregisterSignal(user,COMSIG_MOVABLE_MOVED)
|
||||
UnregisterSignal(user,COMSIG_MOVABLE_MOVED)
|
||||
|
||||
Reference in New Issue
Block a user