From c7db5e0d168a4515e2fa6adef9ee274ef9082b3e Mon Sep 17 00:00:00 2001
From: S34NW <12197162+S34NW@users.noreply.github.com>
Date: Fri, 23 Apr 2021 20:58:28 +0100
Subject: [PATCH] fixes final steelslayer issue
---
code/game/machinery/pipe/construction.dm | 2 +-
code/modules/atmospherics/machinery/atmospherics.dm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/code/game/machinery/pipe/construction.dm b/code/game/machinery/pipe/construction.dm
index 009f135401c..cbea83d439e 100644
--- a/code/game/machinery/pipe/construction.dm
+++ b/code/game/machinery/pipe/construction.dm
@@ -507,7 +507,7 @@
user.visible_message( \
"[user] fastens the [src].", \
"You have fastened the [src].", \
- "You hear ratchet.")
+ "You hear ratcheting.")
qdel(src) // remove the pipe item
return
diff --git a/code/modules/atmospherics/machinery/atmospherics.dm b/code/modules/atmospherics/machinery/atmospherics.dm
index b5426fcc001..7064cd84430 100644
--- a/code/modules/atmospherics/machinery/atmospherics.dm
+++ b/code/modules/atmospherics/machinery/atmospherics.dm
@@ -171,7 +171,7 @@ Pipelines + Other Objects -> Pipe network
/obj/machinery/atmospherics/attackby(obj/item/W, mob/user)
var/turf/T = get_turf(src)
if(can_unwrench && istype(W, /obj/item/wrench))
- if(T.transparent_floor && istype(src, /obj/machinery/atmospherics/pipe))
+ if(T.transparent_floor && istype(src, /obj/machinery/atmospherics/pipe) && layer != GAS_PIPE_VISIBLE_LAYER) //pipes on GAS_PIPE_VISIBLE_LAYER are above the transparent floor and should be interactable
to_chat(user, "You can't interact with something that's under the floor!")
return
if(level == 1 && isturf(T) && T.intact)