Added no-network check to heat_source to fix a runtime if not connected to a network.

This commit is contained in:
Mark Aherne (Faerdan)
2014-01-24 22:05:08 -05:00
committed by ZomgPonies
parent a6b80b8194
commit deb354fb68
@@ -26,7 +26,7 @@
process()
..()
if(!on)
if(!on || !network)
return 0
var/air_heat_capacity = air_contents.heat_capacity()
var/combined_heat_capacity = current_heat_capacity + air_heat_capacity