Merge branch 'master' of https://github.com/Baystation12/Baystation12 into bs12_with_tgport (used bs12 icon for the new smes sprites, but this may cause other issues)

Conflicts:
	icons/obj/power.dmi

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2012-09-08 20:25:15 +10:00
3 changed files with 55 additions and 2 deletions

View File

@@ -15,8 +15,8 @@
/obj/machinery/power/generator_type2/New()
..()
spawn(5)
input1 = locate(/obj/machinery/atmospherics/unary/generator_input) in get_step(src,WEST)
input2 = locate(/obj/machinery/atmospherics/unary/generator_input) in get_step(src,EAST)
input1 = locate(/obj/machinery/atmospherics/unary/generator_input) in get_step(src,turn(dir, 90))
input2 = locate(/obj/machinery/atmospherics/unary/generator_input) in get_step(src,turn(dir, -90))
if(!input1 || !input2)
stat |= BROKEN
updateicon()