makes chem gases fully condense if below threshold
This commit is contained in:
@@ -101,6 +101,9 @@
|
||||
var/G = condensing_reagent.get_gas()
|
||||
var/amt = air.get_moles(G)
|
||||
air.adjust_moles(G, -min(initial(condensing_reagent.condensation_amount), amt))
|
||||
if(air.get_moles(G) < MOLES_GAS_VISIBLE)
|
||||
amt += air.get_moles(G)
|
||||
air.set_moles(G, 0.0)
|
||||
reagents_holder.add_reagent(condensing_reagent.type, amt)
|
||||
. = REACTING
|
||||
for(var/atom/movable/AM in location)
|
||||
|
||||
Reference in New Issue
Block a user