Fixes stimulum running out before the next breath (#34296)
This commit is contained in:
committed by
CitadelStationBot
parent
5bb87e6778
commit
54b356a227
@@ -283,7 +283,8 @@
|
||||
// Stimulum
|
||||
gas_breathed = breath_gases[/datum/gas/stimulum][MOLES]
|
||||
if (gas_breathed > gas_stimulation_min)
|
||||
H.reagents.add_reagent("stimulum",1)
|
||||
var/existing = H.reagents.get_reagent_amount("stimulum")
|
||||
H.reagents.add_reagent("stimulum",max(0, 1 - existing))
|
||||
breath_gases[/datum/gas/stimulum][MOLES]-=gas_breathed
|
||||
handle_breath_temperature(breath, H)
|
||||
breath.garbage_collect()
|
||||
|
||||
Reference in New Issue
Block a user