fix compile

This commit is contained in:
Lucy
2021-12-22 12:56:46 -05:00
parent ec8de960df
commit c0dfc15a82
2 changed files with 3 additions and 3 deletions

View File

@@ -630,7 +630,7 @@ GENE SCANNER
if(id in GLOB.hardcoded_gases) if(id in GLOB.hardcoded_gases)
continue continue
var/gas_concentration = environment.get_moles(id)/total_moles var/gas_concentration = environment.get_moles(id)/total_moles
to_chat(user, span_alert("[[GLOB.gas_data.names[id]]: [round(gas_concentration*100, 0.01)] % ([round(environment.get_moles(id), 0.01)] mol)")) to_chat(user, span_alert("[GLOB.gas_data.names[id]]: [round(gas_concentration*100, 0.01)] % ([round(environment.get_moles(id), 0.01)] mol)"))
to_chat(user, span_info("Temperature: [round(environment.return_temperature()-T0C, 0.01)] °C ([round(environment.return_temperature(), 0.01)] K)")) to_chat(user, span_info("Temperature: [round(environment.return_temperature()-T0C, 0.01)] °C ([round(environment.return_temperature(), 0.01)] K)"))
/obj/item/analyzer/AltClick(mob/user) //Barometer output for measuring when the next storm happens /obj/item/analyzer/AltClick(mob/user) //Barometer output for measuring when the next storm happens
@@ -720,7 +720,7 @@ GENE SCANNER
for(var/id in air_contents.get_gases()) for(var/id in air_contents.get_gases())
var/gas_concentration = air_contents.get_moles(id)/total_moles var/gas_concentration = air_contents.get_moles(id)/total_moles
to_chat(user, span_notice("[[GLOB.gas_data.names[id]]: [round(gas_concentration*100, 0.01)] % ([round(air_contents.get_moles(id), 0.01)] mol)")) to_chat(user, span_notice("[GLOB.gas_data.names[id]]: [round(gas_concentration*100, 0.01)] % ([round(air_contents.get_moles(id), 0.01)] mol)"))
to_chat(user, span_notice("Temperature: [round(temperature - T0C,0.01)] °C ([round(temperature, 0.01)] K)")) to_chat(user, span_notice("Temperature: [round(temperature - T0C,0.01)] °C ([round(temperature, 0.01)] K)"))
else else

View File

@@ -120,7 +120,7 @@
t += span_danger("Temperature: [environment.return_temperature()] \n") t += span_danger("Temperature: [environment.return_temperature()] \n")
for(var/id in environment.get_gases()) for(var/id in environment.get_gases())
if(environment.get_moles(id)) if(environment.get_moles(id))
t+=span_notice("[GLOB.gas_data.names[]id]]: [environment.get_moles(id)] \n") t+=span_notice("[GLOB.gas_data.names[id]]: [environment.get_moles(id)] \n")
to_chat(usr, t) to_chat(usr, t)