From a38af3281cfe2e416942b9a93909c711ea17b582 Mon Sep 17 00:00:00 2001
From: TDSSS <32099540+TDSSS@users.noreply.github.com>
Date: Mon, 5 Nov 2018 20:26:56 +0100
Subject: [PATCH] Fixed tranquilite from being used in wall construction.
---
code/game/objects/structures/girders.dm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/code/game/objects/structures/girders.dm b/code/game/objects/structures/girders.dm
index cb7350f5b34..0309feb1bcf 100644
--- a/code/game/objects/structures/girders.dm
+++ b/code/game/objects/structures/girders.dm
@@ -313,6 +313,9 @@
if(S.sheettype)
var/M = S.sheettype
+ if(M == "tranquillite") //tranquilite walls don't exist in the code (yet)
+ to_chat(user, "You don't think that is good material for a wall!")
+ return
if(state == GIRDER_DISPLACED)
if(S.get_amount() < 2)
to_chat(user, "You need at least two sheets to create a false wall!")