chomp runtimes (#11141)

This commit is contained in:
Kashargul
2025-07-04 19:28:31 +02:00
committed by GitHub
parent f96a7d3dc5
commit 9feb91ec4c
2 changed files with 3 additions and 1 deletions

View File

@@ -170,6 +170,8 @@
standard_overlays = FALSE
/obj/item/cell/device/weapon/recharge/alien/attack_self(var/mob/user)
if(!swaps_to)
return
user.remove_from_mob(src)
to_chat(user, span_notice("You swap [src] to 'machinery cell' mode."))
var/obj/item/cell/newcell = new swaps_to(null)