Fixed tranquilite from being used in wall construction.

This commit is contained in:
TDSSS
2018-11-05 20:26:56 +01:00
parent e139c149b6
commit a38af3281c
+3
View File
@@ -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, "<span class='warning'>You don't think that is good material for a wall!</span>")
return
if(state == GIRDER_DISPLACED)
if(S.get_amount() < 2)
to_chat(user, "<span class='warning'>You need at least two sheets to create a false wall!</span>")