mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-25 04:36:58 +01:00
nukes some unmanaged global variables (probably merge this fast as it touches a hundred+ files) (#2829)
* replacements * indents
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user