mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Explosions SS runtime fix + code cleanup (#52894)
* runtime fix * turf references are immortal
This commit is contained in:
@@ -123,11 +123,11 @@
|
||||
if(cpu)
|
||||
switch(severity)
|
||||
if(EXPLODE_DEVASTATE)
|
||||
SSexplosions.highobj += cpu
|
||||
SSexplosions.high_mov_atom += cpu
|
||||
if(EXPLODE_HEAVY)
|
||||
SSexplosions.medobj += cpu
|
||||
SSexplosions.med_mov_atom += cpu
|
||||
if(EXPLODE_LIGHT)
|
||||
SSexplosions.lowobj += cpu
|
||||
SSexplosions.low_mov_atom += cpu
|
||||
..()
|
||||
|
||||
// EMPs are similar to explosions, but don't cause physical damage to the casing. Instead they screw up the components
|
||||
|
||||
Reference in New Issue
Block a user