[MIRROR] Fix tank compressor rotation-related bugs [MDB IGNORE] (#13652)

* Fix tank compressor rotation-related bugs (#66998)

* Fix tank compressor rotation-related bugs

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-05-16 19:58:29 -07:00
committed by GitHub
co-authored by RandomGamer123
parent 65ebd4942b
commit 1b01ffaed9
2 changed files with 10 additions and 1 deletions
@@ -268,7 +268,6 @@
atmos_init()
for(var/i in 1 to device_type)
var/obj/machinery/atmospherics/node = nodes[i]
node = nodes[1]
if(node)
node.atmos_init()
node.add_member(src)
@@ -80,6 +80,16 @@
return FALSE
return TRUE
/obj/machinery/atmospherics/components/binary/tank_compressor/default_change_direction_wrench(mob/user, obj/item/I)
if(!..())
return FALSE
set_init_directions()
update_appearance()
return TRUE
/obj/machinery/atmospherics/components/binary/circulator/get_node_connects()
return list(turn(dir, 180), dir) // airs[2] is input which is facing dir, airs[1] is output which is facing the other side of dir
/obj/machinery/atmospherics/components/binary/tank_compressor/screwdriver_act(mob/living/user, obj/item/tool)
if(active || inserted_tank)
return FALSE