[MIRROR] [s] Fixes clogged vents delamming the supermatter (#5303)

* [s] Fixes clogged vents delamming the supermatter (#35300)

wow forgot to commit thiss to the PR lmao

* [s] Fixes clogged vents delamming the supermatter
This commit is contained in:
CitadelStationBot
2018-02-05 00:51:34 -06:00
committed by Poojawa
parent e209bef392
commit 18932a5d31
@@ -588,11 +588,12 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_shard)
matter_power += 200
else if(istype(AM, /obj/singularity))
return
else if(isobj(AM) && !istype(AM, /obj/effect))
investigate_log("has consumed [AM].", INVESTIGATE_SUPERMATTER)
else if(isobj(AM))
if(!istype(AM, /obj/effect))
investigate_log("has consumed [AM].", INVESTIGATE_SUPERMATTER)
qdel(AM)
matter_power += 200
if(!istype(AM, /obj/effect))
matter_power += 200
//Some poor sod got eaten, go ahead and irradiate people nearby.
radiation_pulse(src, 3000, 2, TRUE)