mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
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 🆑 fix: Supermatter anomalies no longer drop anomaly cores. fix: Fix supermatter flux anomalies from sm delam not emping or whatever. /🆑
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user