mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
FUCK
This commit is contained in:
@@ -36,10 +36,10 @@
|
|||||||
|
|
||||||
//all these must be above zero for auxmos to even consider them
|
//all these must be above zero for auxmos to even consider them
|
||||||
if(!thermal_conductivity || !heat_capacity || !T.thermal_conductivity || !T.heat_capacity)
|
if(!thermal_conductivity || !heat_capacity || !T.thermal_conductivity || !T.heat_capacity)
|
||||||
|
conductivity_blocked_directions |= dir
|
||||||
|
T.conductivity_blocked_directions |= opp
|
||||||
return
|
return
|
||||||
|
|
||||||
conductivity_blocked_directions &= ~dir
|
|
||||||
T.conductivity_blocked_directions &= ~opp
|
|
||||||
for(var/obj/O in contents+T.contents)
|
for(var/obj/O in contents+T.contents)
|
||||||
if(O.BlockThermalConductivity(opp)) //the direction and open/closed are already checked on CanAtmosPass() so there are no arguments
|
if(O.BlockThermalConductivity(opp)) //the direction and open/closed are already checked on CanAtmosPass() so there are no arguments
|
||||||
conductivity_blocked_directions |= dir
|
conductivity_blocked_directions |= dir
|
||||||
@@ -52,9 +52,13 @@
|
|||||||
/turf/proc/ImmediateCalculateAdjacentTurfs()
|
/turf/proc/ImmediateCalculateAdjacentTurfs()
|
||||||
var/canpass = CANATMOSPASS(src, src)
|
var/canpass = CANATMOSPASS(src, src)
|
||||||
var/canvpass = CANVERTICALATMOSPASS(src, src)
|
var/canvpass = CANVERTICALATMOSPASS(src, src)
|
||||||
|
|
||||||
|
conductivity_blocked_directions = 0
|
||||||
|
|
||||||
for(var/direction in GLOB.cardinals_multiz)
|
for(var/direction in GLOB.cardinals_multiz)
|
||||||
var/turf/T = get_step_multiz(src, direction)
|
var/turf/T = get_step_multiz(src, direction)
|
||||||
if(!istype(T))
|
if(!istype(T))
|
||||||
|
conductivity_blocked_directions |= dir
|
||||||
continue
|
continue
|
||||||
|
|
||||||
var/src_contains_firelock = 1
|
var/src_contains_firelock = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user