mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user