mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +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:
@@ -424,7 +424,7 @@
|
||||
..()
|
||||
var/obj/item/projectile/bullet/reusable/foam_dart/FD = BB
|
||||
if((is_pen(A)) && modified && !FD.pen)
|
||||
if(!user.unEquip(A))
|
||||
if(!user.unequip(A)) // forceMove happens in add_pen
|
||||
return
|
||||
add_pen(A)
|
||||
to_chat(user, "<span class='notice'>You insert [A] into [src].</span>")
|
||||
|
||||
Reference in New Issue
Block a user