Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@
if(HAS_TRAIT(I, TRAIT_NODROP))
to_chat(user, span_notice("[I] is stuck to your hand!"))
return
I.forceMove(src) // Force it out of our hands so we can put the old cell in it
if(istype(I, /obj/item/stock_parts/cell))
I.forceMove(src) // Force it out of our hands so we can put the old cell in it
if(!user.put_in_hands(cell))
cell.forceMove(get_turf(src))
component_parts -= cell // Remove the old cell so the new one spawns when deconstructed
Expand Down