mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Added no-network check to heat_source to fix a runtime if not connected to a network.
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user