Prevent anomaly refinery from eating untold numbers of cores. (#32335)

This commit is contained in:
Alan
2026-08-01 06:18:41 +00:00
committed by GitHub
parent fe5ea25e07
commit d453adfd2a
@@ -40,7 +40,7 @@
/obj/machinery/anomaly_refinery/item_interaction(mob/living/user, obj/item/used, list/modifiers)
if(!istype(used, /obj/item/raw_anomaly_core))
return ..()
if(refined_core)
if(refined_core || inserted_core)
to_chat(user, SPAN_WARNING("There is already a core in [src]!"))
return ITEM_INTERACT_COMPLETE
if(used.flags & NODROP || !user.drop_item() || !used.forceMove(src))