[MIRROR] Explosions SS runtime fix + code cleanup (#461)

* Explosions SS runtime fix + code cleanup (#52894)

* runtime fix

* turf references are immortal

* Explosions SS runtime fix + code cleanup

Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
SkyratBot
2020-08-21 21:30:43 +01:00
committed by GitHub
co-authored by Rohesie
parent 98f195e72c
commit d3f6e8d49f
28 changed files with 164 additions and 164 deletions
+1 -1
View File
@@ -111,7 +111,7 @@
. = ..()
if (!QDELETED(target) && (isturf(target) || istype(target, /obj/structure/)))
if(isobj(target))
SSexplosions.medobj += target
SSexplosions.med_mov_atom += target
else
SSexplosions.medturf += target
@@ -12,7 +12,7 @@
forceMove(A.loc)
return
if(isobj(A))
SSexplosions.medobj += A
SSexplosions.med_mov_atom += A
else if(isturf(A))
SSexplosions.medturf += A
playsound(src.loc, 'sound/effects/meteorimpact.ogg', 40, TRUE)