mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Refactor /mob/unEquip. (#27720)
* Refactor /mob/unEquip. * fix things found in testing * more fixes from testing * fix removal of hooded suits * fix flayers inability to deploy swarmprod * fix changeling blade activation * unnecessary parens * pass default unequip args to proc overrides * fix belts being able to forceMove into full hands
This commit is contained in:
committed by
GitHub
parent
17602326bc
commit
0eafad8475
@@ -1613,7 +1613,7 @@
|
||||
playsound(src, 'sound/effects/spray.ogg', 5, TRUE, 5)
|
||||
var/obj/item/clothing/head/helmet/space/plasmaman/lf53_fluff/F = new(P.loc)
|
||||
if(P == H.head)
|
||||
H.unEquip(P, TRUE, TRUE)
|
||||
H.unequip(P, force = TRUE)
|
||||
H.equip_to_slot(F, ITEM_SLOT_HEAD, TRUE)
|
||||
H.update_inv_head()
|
||||
qdel(P)
|
||||
|
||||
Reference in New Issue
Block a user