From 074e5fba226401dd0bde5da9dd2688e5fa0ca1ba Mon Sep 17 00:00:00 2001 From: Dennok Date: Fri, 11 Sep 2020 00:17:46 +0300 Subject: [PATCH] connector cap fix --- code/game/machinery/pipe/construction.dm | 2 +- .../machinery/components/unary_devices/portables_connector.dm | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/pipe/construction.dm b/code/game/machinery/pipe/construction.dm index c90afc3da0c58..2541d2e3e7bdd 100644 --- a/code/game/machinery/pipe/construction.dm +++ b/code/game/machinery/pipe/construction.dm @@ -145,7 +145,7 @@ Buildable meters return TRUE // no conflicts found - var/obj/machinery/atmospherics/A = new pipe_type(loc, fixed_dir()) + var/obj/machinery/atmospherics/A = new pipe_type(loc) build_pipe(A) A.on_construction(color, piping_layer) transfer_fingerprints_to(A) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/portables_connector.dm b/code/modules/atmospherics/machinery/components/unary_devices/portables_connector.dm index e3906b0a46b74..6fe75572f9579 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/portables_connector.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/portables_connector.dm @@ -29,6 +29,7 @@ /obj/machinery/atmospherics/components/unary/portables_connector/update_icon_nopipes() icon_state = "connector" if(showpipe) + cut_overlays() var/image/cap = getpipeimage(icon, "connector_cap", initialize_directions) add_overlay(cap)