From 0eebcc0f545eb3c93ea91c56650a7770c21cf29d Mon Sep 17 00:00:00 2001 From: Pickle-Coding <58013024+Pickle-Coding@users.noreply.github.com> Date: Wed, 29 Oct 2025 00:02:47 +0000 Subject: [PATCH] Fixes supermatter anomalies being able to drop anomaly cores. (#93611) ## About The Pull Request Readds the drops_core argument for determining whether an anomaly is capable of dropping a core through any means possible. ## Why It's Good For The Game For intended behaviour of the supermatter. ## Changelog :cl: fix: Supermatter anomalies no longer drop anomaly cores. fix: Fix supermatter flux anomalies from sm delam not emping or whatever. /:cl: --- code/game/objects/effects/anomalies/_anomalies.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/game/objects/effects/anomalies/_anomalies.dm b/code/game/objects/effects/anomalies/_anomalies.dm index 3cf2ee6a8f5..57aa83b532e 100644 --- a/code/game/objects/effects/anomalies/_anomalies.dm +++ b/code/game/objects/effects/anomalies/_anomalies.dm @@ -24,7 +24,7 @@ ///Chance per second that we will move var/move_chance = ANOMALY_MOVECHANCE -/obj/effect/anomaly/Initialize(mapload, new_lifespan) +/obj/effect/anomaly/Initialize(mapload, new_lifespan, drops_core = TRUE) . = ..() if(!mapload) @@ -36,6 +36,9 @@ if (!impact_area) return INITIALIZE_HINT_QDEL + if(!drops_core) + anomaly_core = null + if(anomaly_core) anomaly_core = new anomaly_core(src) anomaly_core.code = rand(1,100)