Updated auxmos (see desc)
1. All callbacks are now auxmos-side, using new auxcallbacks. 2. Heat processing is now paused for and has been optimized by making it have fewer callbacks.
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
return air
|
||||
|
||||
/turf/temperature_expose()
|
||||
if(temperature > heat_capacity)
|
||||
if(return_temperature() > heat_capacity)
|
||||
to_be_destroyed = TRUE
|
||||
|
||||
/turf/open/proc/eg_reset_cooldowns()
|
||||
@@ -179,7 +179,10 @@
|
||||
|
||||
//////////////////////////SPACEWIND/////////////////////////////
|
||||
|
||||
/turf/open/proc/consider_pressure_difference(turf/T, difference)
|
||||
/turf/proc/consider_pressure_difference()
|
||||
return
|
||||
|
||||
/turf/open/consider_pressure_difference(turf/T, difference)
|
||||
if(difference > pressure_difference)
|
||||
pressure_direction = get_dir(src, T)
|
||||
pressure_difference = difference
|
||||
|
||||
@@ -243,8 +243,8 @@ GLOBAL_LIST_INIT(auxtools_atmos_initialized,FALSE)
|
||||
|
||||
//acounts for changes in temperature
|
||||
var/turf/model_parent = model.parent_type
|
||||
if(model.temperature != initial(model.temperature) || model.temperature != initial(model_parent.temperature))
|
||||
set_temperature(model.temperature)
|
||||
if(model.return_temperature() != initial(model.initial_temperature) || model.return_temperature() != initial(model_parent.initial_temperature))
|
||||
set_temperature(model.return_temperature())
|
||||
|
||||
return 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user