mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
AI Node Pressure Fix (#28959)
This commit is contained in:
@@ -199,6 +199,9 @@ GLOBAL_LIST_EMPTY(ai_nodes)
|
||||
var/transfer_moles = 0.25 * env.total_moles()
|
||||
var/datum/gas_mixture/removed = env.remove(transfer_moles)
|
||||
if(!removed)
|
||||
node.overheat_counter++
|
||||
if(node.overheat_counter >= 5)
|
||||
node.overheat()
|
||||
return
|
||||
var/heat_capacity = removed.heat_capacity()
|
||||
if(heat_capacity)
|
||||
|
||||
Reference in New Issue
Block a user