mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +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:
@@ -276,7 +276,7 @@
|
||||
to_chat(wearer, "<span class='warning'>Retract parts first!</span>")
|
||||
playsound(src, 'sound/machines/scanbuzz.ogg', 25, FALSE, SILENCED_SOUND_EXTRARANGE)
|
||||
return
|
||||
if(!M.unEquip(src, silent = TRUE))
|
||||
if(!M.unequip(src, force = TRUE))
|
||||
return
|
||||
M.put_in_active_hand(src)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user