More testing and such. It's super slow now!

This commit is contained in:
Putnam
2020-11-10 20:04:32 -08:00
parent ff1a1aa8ae
commit 43d4ad8c12
6 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -236,7 +236,7 @@ SUBSYSTEM_DEF(air)
/datum/controller/subsystem/air/proc/process_turf_equalize(resumed = 0)
if(!resumed)
src.currentrun = process_turf_equalize_extools(resumed, (Master.current_ticklimit - TICK_USAGE) * 0.1 * world.tick_lag)
src.currentrun = process_turf_equalize_extools((Master.current_ticklimit - TICK_USAGE) * world.tick_lag)
if(src.currentrun.len)
pause()
else
@@ -275,7 +275,7 @@ SUBSYSTEM_DEF(air)
/datum/controller/subsystem/air/proc/process_turfs(resumed = 0)
if(!resumed)
begin_turf_process()
if(process_turfs_extools(resumed, (Master.current_ticklimit - TICK_USAGE) * 0.1 * world.tick_lag))
if(process_turfs_extools((Master.current_ticklimit - TICK_USAGE) * world.tick_lag))
pause()
/*
//cache for sanic speed
@@ -255,7 +255,8 @@
total_thermal_energy += G.thermal_energy()
total_heat_capacity += G.heat_capacity()
total_gas_mixture.set_temperature(total_heat_capacity ? total_thermal_energy/total_heat_capacity : 0)
if(total_heat_capacity)
total_gas_mixture.set_temperature(total_thermal_energy/total_heat_capacity)
if(total_gas_mixture.return_volume() > 0)
//Update individual gas_mixtures by volume ratio