mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 04:02:31 +00:00
Corrects the spelling of MINIMUM_MOLES_TO_PUMP.
This commit is contained in:
@@ -69,7 +69,7 @@
|
|||||||
|
|
||||||
//Gas 'pumping' proc for the case where the gas flow is passive and driven entirely by pressure differences (but still one-way).
|
//Gas 'pumping' proc for the case where the gas flow is passive and driven entirely by pressure differences (but still one-way).
|
||||||
/proc/pump_gas_passive(var/obj/machinery/M, var/datum/gas_mixture/source, var/datum/gas_mixture/sink, var/transfer_moles = null)
|
/proc/pump_gas_passive(var/obj/machinery/M, var/datum/gas_mixture/source, var/datum/gas_mixture/sink, var/transfer_moles = null)
|
||||||
if (source.total_moles < MINUMUM_MOLES_TO_PUMP) //if we cant transfer enough gas just stop to avoid further processing
|
if (source.total_moles < MINIMUM_MOLES_TO_PUMP) //if we cant transfer enough gas just stop to avoid further processing
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
if (isnull(transfer_moles))
|
if (isnull(transfer_moles))
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
var/equalize_moles = calculate_equalize_moles(source, sink)
|
var/equalize_moles = calculate_equalize_moles(source, sink)
|
||||||
transfer_moles = min(transfer_moles, equalize_moles)
|
transfer_moles = min(transfer_moles, equalize_moles)
|
||||||
|
|
||||||
if (transfer_moles < MINUMUM_MOLES_TO_PUMP) //if we cant transfer enough gas just stop to avoid further processing
|
if (transfer_moles < MINIMUM_MOLES_TO_PUMP) //if we cant transfer enough gas just stop to avoid further processing
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
//Update flow rate meter
|
//Update flow rate meter
|
||||||
|
|||||||
Reference in New Issue
Block a user