Fixes null gases and air runtimes that plague layenia

This commit is contained in:
Archie
2021-04-30 00:32:10 -03:00
parent 16fc2658b8
commit 6d58efc6b9
3 changed files with 10 additions and 5 deletions
+7
View File
@@ -242,6 +242,13 @@
//testing("Active turf found. Return value of compare(): [is_active]")
excited = TRUE
SSair.active_turfs |= src
//Issues with air runtiming and you don't know where? Uncomment the following code.
/*
if(air == null)
log_game("Bad air from [src] at [src.loc]")
if(enemy_air == null)
log_game("Bad air from [enemy_tile] at [enemy_tile.loc]")
*/
/turf/open/proc/GetHeatCapacity()
. = air.heat_capacity()