Fix plasma airlock stupidity

This commit is contained in:
D3athrow
2015-08-08 15:15:08 -05:00
parent a6b0c9a818
commit f4a08a98fe

View File

@@ -1153,9 +1153,10 @@ About the new airlock wires panel:
A.throw_at(get_edge_target_turf(src, direction),10,4) A.throw_at(get_edge_target_turf(src, direction),10,4)
return DA //Returns the new assembly return DA //Returns the new assembly
/obj/machinery/door/airlock/plasma/attackby(C as obj, mob/user as mob) /obj/machinery/door/airlock/plasma/attackby(obj/C, mob/user)
if(C) var/heat = C.is_hot()
ignite(is_hot(C)) if(heat > 300)
ignite(heat)
..() ..()
/obj/machinery/door/airlock/open(var/forced=0) /obj/machinery/door/airlock/open(var/forced=0)