[MIRROR] Fixes plasmamen burning to death in cloning pods (#382)

* Fixes plasmamen burning to death in cloning pods

* fix travis
This commit is contained in:
CitadelStationBot
2017-04-15 13:36:59 -05:00
committed by TalkingCactus
parent 07303ebcc6
commit 09572935ca
7 changed files with 80 additions and 59 deletions
+10
View File
@@ -0,0 +1,10 @@
diff a/code/game/machinery/cloning.dm b/code/game/machinery/cloning.dm (rejected hunks)
@@ -130,7 +130,7 @@
// We want to simulate the clone not being in contact with
// the atmosphere, so we'll put them in a constant pressure
// nitrogen. They'll breathe through the chemicals we pump into them.
- var/global/datum/gas_mixture/immutable/cloner/GM //global so that there's only one instance made for all cloning pods
+ var/static/datum/gas_mixture/immutable/cloner/GM //global so that there's only one instance made for all cloning pods
if(!GM)
GM = new
return GM
+17
View File
@@ -0,0 +1,17 @@
diff a/code/game/turfs/space/space.dm b/code/game/turfs/space/space.dm (rejected hunks)
@@ -12,7 +12,7 @@
var/destination_x
var/destination_y
- var/global/datum/gas_mixture/space/space_gas = new
+ var/global/datum/gas_mixture/immutable/space/space_gas = new
plane = PLANE_SPACE
light_power = 0.25
dynamic_lighting = DYNAMIC_LIGHTING_DISABLED
@@ -210,4 +210,4 @@
to_chat(user, "<span class='notice'>You build a floor.</span>")
ChangeTurf(/turf/open/floor/plating)
return TRUE
- return FALSE
\ No newline at end of file
+ return FALSE