mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 16:44:33 +01:00
fix extinguishers not going into backpack when safety is off (#30055)
* fix extinguishers not going into backpack when safety is off * Update code/game/objects/items/weapons/extinguisher.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: Toastical <20125180+Toastical@users.noreply.github.com> --------- Signed-off-by: Toastical <20125180+Toastical@users.noreply.github.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
@@ -89,6 +89,9 @@
|
||||
|
||||
/obj/item/extinguisher/interact_with_atom(atom/target, mob/living/user, list/modifiers)
|
||||
. = ..()
|
||||
if(isstorage(target) || istype(target, /atom/movable/screen))
|
||||
return
|
||||
|
||||
if(attempt_refill(target, user))
|
||||
return ITEM_INTERACT_COMPLETE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user