mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +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:
@@ -145,7 +145,7 @@ In my current plan for it, 'solid' will be defined as anything with density == 1
|
||||
if(isturf(clong))
|
||||
SSexplosions.medturf += clong
|
||||
if(isobj(clong))
|
||||
SSexplosions.medobj += clong
|
||||
SSexplosions.med_mov_atom += clong
|
||||
|
||||
else if(isliving(clong))
|
||||
penetrate(clong)
|
||||
|
||||
@@ -34,6 +34,6 @@
|
||||
explosion(get_turf(P), 0, 0, 2)
|
||||
// Only a level 1 explosion actually damages the machine
|
||||
// at all
|
||||
SSexplosions.highobj += P
|
||||
SSexplosions.high_mov_atom += P
|
||||
else
|
||||
P.emp_act(EMP_HEAVY)
|
||||
|
||||
Reference in New Issue
Block a user