mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
Merge pull request #15887 from Putnam3145/fix-qcd
Make QCD matter not react infinitely, thus generating 200,000 science per second
This commit is contained in:
@@ -760,6 +760,8 @@
|
||||
|
||||
/datum/gas_reaction/hagedorn/react(datum/gas_mixture/air, datum/holder)
|
||||
var/initial_energy = air.thermal_energy()
|
||||
if(air.get_moles(GAS_QCD))
|
||||
return
|
||||
for(var/g in air.get_gases())
|
||||
air.set_moles(g, 0)
|
||||
var/amount = initial_energy / (air.return_temperature() * GLOB.gas_data.specific_heats[GAS_QCD])
|
||||
|
||||
Reference in New Issue
Block a user