Merge pull request #34357 from AutomaticFrenzy/patch/rpd-runtime

Fix RPD runtimes and offsets of layered connector ports
This commit is contained in:
Leo
2018-01-13 12:58:00 -02:00
committed by CitadelStationBot
parent ef1c99ba92
commit ba1f61cb9e
2 changed files with 3 additions and 1 deletions

View File

@@ -334,7 +334,7 @@ GLOBAL_LIST_INIT(disposal_pipe_recipes, list(
var/obj/item/pipe/P = new pipe_item_type(A, queued_p_type, queued_p_dir)
if(queued_p_flipped)
if(queued_p_flipped && istype(P, /obj/item/pipe/trinary/flippable))
var/obj/item/pipe/trinary/flippable/F = P
F.flipped = queued_p_flipped

View File

@@ -73,6 +73,8 @@
anchored = FALSE
connected_port.connected_device = null
connected_port = null
pixel_x = 0
pixel_y = 0
return TRUE
/obj/machinery/portable_atmospherics/portableConnectorReturnAir()