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:
Putnam
2020-12-10 12:03:28 -08:00
parent 65920283f5
commit d1277ad7b2
15 changed files with 32 additions and 58 deletions
@@ -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