Fixed deactivated supermatters eating gas

This commit is contained in:
Putnam
2021-06-13 09:22:43 -07:00
parent a9db30d6d9
commit 39dbbd0f21
3 changed files with 1 additions and 1 deletions

View File

@@ -475,7 +475,7 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
var/datum/gas_mixture/removed
if(produces_gas)
//Remove gas from surrounding area
removed = env.remove(gasefficency * env.total_moles())
removed = env.remove_ratio(gasefficency)
else
// Pass all the gas related code an empty gas container
removed = new()