Merge pull request #33622 from duncathan/assert_gas

restores add_gas(), assert_gas(), and thermal_energy() as wrapper procs
This commit is contained in:
oranges
2017-12-20 17:45:39 +13:00
committed by CitadelStationBot
parent e552382953
commit d960c45e77
15 changed files with 31 additions and 20 deletions
+1 -1
View File
@@ -735,7 +735,7 @@ GLOBAL_PROTECT(LastAdminCalledProc)
if(Rad.anchored)
if(!Rad.loaded_tank)
var/obj/item/tank/internals/plasma/Plasma = new/obj/item/tank/internals/plasma(Rad)
ASSERT_GAS(/datum/gas/plasma, Plasma.air_contents)
Plasma.air_contents.assert_gas(/datum/gas/plasma)
Plasma.air_contents.gases[/datum/gas/plasma][MOLES] = 70
Rad.drainratio = 0
Rad.loaded_tank = Plasma