mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 11:05:50 +01:00
Fixes some runtimes [IDB IGNORE] (#17194)
* Fixes some runtimes * typo * No more infinite mannequins * crash * More runtime fixes and pressure fling Makes it so you can unwrench pipes that are pressurized, at the cost of being flung back from the pipe. Higher pressure = longer distance and faster. * Fixes a memory leak and a bug
This commit is contained in:
@@ -104,11 +104,14 @@
|
||||
spread_power -= O.explosion_resistance
|
||||
|
||||
var/turf/T = get_step(src, direction)
|
||||
T.explosion_spread(spread_power, direction, explosion_turfs)
|
||||
T = get_step(src, turn(direction,90))
|
||||
T.explosion_spread(spread_power, turn(direction,90), explosion_turfs)
|
||||
T = get_step(src, turn(direction,-90))
|
||||
T.explosion_spread(spread_power, turn(direction,-90), explosion_turfs)
|
||||
if(T)
|
||||
T.explosion_spread(spread_power, direction, explosion_turfs)
|
||||
T = get_step(src, turn(direction,90))
|
||||
if(T)
|
||||
T.explosion_spread(spread_power, turn(direction,90), explosion_turfs)
|
||||
T = get_step(src, turn(direction,-90))
|
||||
if(T)
|
||||
T.explosion_spread(spread_power, turn(direction,-90), explosion_turfs)
|
||||
|
||||
/turf/unsimulated/explosion_spread(power)
|
||||
return //So it doesn't get to the parent proc, which simulates explosions
|
||||
|
||||
Reference in New Issue
Block a user