mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
-Small improvement to atmos. Changed the "locate a space tile every time" to instead use a pre-located space tile. It'll stop the need to locate one everytime, but in the off-chance that the space tile isn't there anymore, it'll locate a new one.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4662 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -499,10 +499,12 @@ turf
|
||||
mimic_temperature_solid(neighbor, neighbor.thermal_conductivity)
|
||||
|
||||
//Radiate excess tile heat to space
|
||||
var/turf/space/sample_space = locate(/turf/space)
|
||||
if(sample_space && (temperature > T0C))
|
||||
//Considering 0 degC as te break even point for radiation in and out
|
||||
mimic_temperature_solid(sample_space, FLOOR_HEAT_TRANSFER_COEFFICIENT)
|
||||
if(temperature > T0C)
|
||||
// Is there a pre-defined Space Tile?
|
||||
if(!Space_Tile)
|
||||
Space_Tile = locate(/turf/space) // Define one
|
||||
//Considering 0 degC as te break even point for radiation in and out
|
||||
mimic_temperature_solid(Space_Tile, FLOOR_HEAT_TRANSFER_COEFFICIENT)
|
||||
|
||||
//Conduct with air on my tile if I have it
|
||||
if(air)
|
||||
|
||||
Reference in New Issue
Block a user