Fix storing several recently-migrated items. (#32383)

* Fix storing light replacers, handheld defibs.

* Apply suggestion from CRUNCH review.

* Fix similar mishap in body analyzer, flash, gas analyzer, laser pointer, garrote, evidence bag, and organ extractor.
This commit is contained in:
Alan
2026-08-12 23:48:38 +00:00
committed by GitHub
parent fe10790ad1
commit 2b0638def8
9 changed files with 52 additions and 15 deletions
+2 -2
View File
@@ -55,8 +55,8 @@
STOP_PROCESSING(SSobj, src)
/obj/item/garrote/interact_with_atom(mob/living/carbon/human/target, mob/living/carbon/human/user, list/modifiers)
if(..())
return ITEM_INTERACT_COMPLETE
if(!ismob(target))
return NONE
if(garrote_time > world.time) // Cooldown.
return ITEM_INTERACT_COMPLETE