More testing and such. It's super slow now!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user