mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Prevent anomaly refinery from eating untold numbers of cores. (#32335)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user