nukes some unmanaged global variables (probably merge this fast as it touches a hundred+ files) (#2829)

* replacements

* indents
This commit is contained in:
silicons
2021-03-07 19:01:45 -08:00
committed by GitHub
parent 39c009e736
commit 472ef33488
129 changed files with 233 additions and 244 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ proc/explosion_rec(turf/epicenter, power)
explosion_turfs[epicenter] = power
//This steap handles the gathering of turfs which will be ex_act() -ed in the next step. It also ensures each turf gets the maximum possible amount of power dealt to it.
for(var/direction in cardinal)
for(var/direction in GLOB.cardinal)
var/turf/T = get_step(epicenter, direction)
T.explosion_spread(power - epicenter.explosion_resistance, direction)
@@ -118,4 +118,4 @@ proc/explosion_rec(turf/epicenter, power)
T.explosion_spread(spread_power, turn(direction,90))
/turf/unsimulated/explosion_spread(power)
return //So it doesn't get to the parent proc, which simulates explosions
return //So it doesn't get to the parent proc, which simulates explosions