minor code cleanup + fixes plasma fixation

This commit is contained in:
deathride58
2019-04-11 18:20:55 -04:00
parent 8b75240d89
commit 2078485594
3 changed files with 3 additions and 6 deletions
@@ -371,7 +371,7 @@
if(M.loc)
environment = M.loc.return_air()
if(environment)
plasmamount = environment.gases["plasma"]
plasmamount = environment.gases[/datum/gas/plasma]
if(plasmamount && plasmamount > GLOB.meta_gas_info[/datum/gas/plasma][META_GAS_MOLES_VISIBLE]) //if there's enough plasma in the air to see
. += power * 0.5
if(M.reagents.has_reagent("plasma"))