mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 19:15:11 +01:00
Magboot and glove fix (#19415)
* Magboot and glove fix * Update armblade.dm * Update leash.dm
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
..()
|
||||
|
||||
// Removes the spell buttons from the HUD.
|
||||
/obj/item/technomancer_core/dropped(mob/user)
|
||||
/obj/item/technomancer_core/dropped(mob/user, equipping, slot)
|
||||
for(var/atom/movable/screen/ability/obj_based/technomancer/A in wearer.ability_master.ability_objects)
|
||||
wearer.ability_master.remove_ability(A)
|
||||
wearer = null
|
||||
|
||||
@@ -30,12 +30,14 @@
|
||||
..()
|
||||
|
||||
|
||||
/obj/item/clothing/gloves/regen/dropped(var/mob/user)
|
||||
/obj/item/clothing/gloves/regen/dropped(mob/user, equipping, slot)
|
||||
if(equipping)
|
||||
return ..()
|
||||
|
||||
..()
|
||||
|
||||
if(!ishuman(user))
|
||||
return
|
||||
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(H.can_feel_pain())
|
||||
to_chat(H, span_danger("You feel the hypodermic needles as you slide \the [src] off!"))
|
||||
|
||||
Reference in New Issue
Block a user