further optimizes performance by making all of the meta gas properties use their own individual lists instead of being in a messy nested list

This commit is contained in:
deathride58
2019-04-14 16:40:37 -04:00
parent f7203a3428
commit 905f32b193
22 changed files with 101 additions and 61 deletions
+1 -1
View File
@@ -360,7 +360,7 @@ GLOBAL_LIST_EMPTY(PDAs)
for(var/id in env_gases)
var/gas_level = env_gases[id]/total_moles
if(gas_level > 0)
dat += "[GLOB.meta_gas_info[id][META_GAS_NAME]]: [round(gas_level*100, 0.01)]%<br>"
dat += "[GLOB.meta_gas_names[id]]: [round(gas_level*100, 0.01)]%<br>"
dat += "Temperature: [round(environment.temperature-T0C)]&deg;C<br>"
dat += "<br>"