Skip to content

Commit

Permalink
Silly me
Browse files Browse the repository at this point in the history
  • Loading branch information
JixS4v committed Sep 2, 2024
1 parent 4e8037e commit b5abcb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/atmospherics/gasmixtures/gas_types.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ GLOBAL_LIST_INIT(nonreactive_gases, typecacheof(list(/datum/gas/oxygen, /datum/g
for(var/gas_path in .)
var/list/gas_info = new(11)
var/datum/gas/gas = gas_path
var/datum/gas/instance = new(gas_path)

gas_info[META_GAS_SPECIFIC_HEAT] = initial(gas.specific_heat)
gas_info[META_GAS_NAME] = initial(gas.name)
Expand All @@ -20,7 +21,7 @@ GLOBAL_LIST_INIT(nonreactive_gases, typecacheof(list(/datum/gas/oxygen, /datum/g
gas_info[META_GAS_FUSION_POWER] = initial(gas.fusion_power)
gas_info[META_GAS_DANGER] = initial(gas.dangerous)
gas_info[META_GAS_ID] = initial(gas.id)
gas_info[META_GAS_BREATH_ALERT_INFO] = initial(gas.breath_alert_info)
gas_info[META_GAS_BREATH_ALERT_INFO] = instance.breath_alert_info.Copy()
gas_info[META_GAS_BREATH_REAGENT] = initial(gas.breath_reagent)
gas_info[META_GAS_BREATH_RESULTS] = initial(gas.breath_results)
gas_info[META_GAS_BREATH_REAGENT_DANGEROUS] = initial(gas.breath_reagent_dangerous)
Expand Down Expand Up @@ -54,7 +55,7 @@ GLOBAL_LIST_INIT(nonreactive_gases, typecacheof(list(/datum/gas/oxygen, /datum/g
var/dangerous = FALSE //currently used by canisters
var/fusion_power = 0 //How much the gas accelerates a fusion reaction
var/rarity = 0 // relative rarity compared to other gases, used when setting up the reactions list.
var/list/breath_alert_info = null
var/list/breath_alert_info = list()
var/breath_reagent = null
var/breath_results = null
var/breath_reagent_dangerous = null
Expand Down

0 comments on commit b5abcb0

Please sign in to comment.