mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
You can no longer get the supermatter sliver objective if the station does not have a supermatter (#21337)
* You can no longer get the supermatter sliver objective if the station does not have a supermatter * sirryans changes
This commit is contained in:
@@ -85,6 +85,7 @@
|
||||
#define SUPERMATTER_SINGULARITY_RAYS_COLOUR "#750000"
|
||||
#define SUPERMATTER_SINGULARITY_LIGHT_COLOUR "#400060"
|
||||
|
||||
|
||||
/obj/machinery/atmospherics/supermatter_crystal
|
||||
name = "supermatter crystal"
|
||||
desc = "A strangely translucent and iridescent crystal."
|
||||
@@ -213,7 +214,8 @@
|
||||
radio.follow_target = src
|
||||
radio.config(list("Engineering" = 0))
|
||||
investigate_log("has been created.", "supermatter")
|
||||
|
||||
if(is_main_engine)
|
||||
GLOB.main_supermatter_engine = src
|
||||
soundloop = new(list(src), TRUE)
|
||||
|
||||
/obj/machinery/atmospherics/supermatter_crystal/Destroy()
|
||||
@@ -227,6 +229,8 @@
|
||||
if(!processes)
|
||||
GLOB.frozen_atom_list -= src
|
||||
QDEL_NULL(countdown)
|
||||
if(is_main_engine && GLOB.main_supermatter_engine == src)
|
||||
GLOB.main_supermatter_engine = null
|
||||
QDEL_NULL(soundloop)
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user