From 037ea78503ec4365398cf62db9901ba5d6ef764b Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Sat, 31 Jan 2015 20:26:10 +1030 Subject: [PATCH] Lazy shitfix for non-existent mineral walls. Will port upstream fix when I get time for a mineral wall rewrite. --- code/game/objects/structures/girders.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/structures/girders.dm b/code/game/objects/structures/girders.dm index 55400d9c..7a9494df 100644 --- a/code/game/objects/structures/girders.dm +++ b/code/game/objects/structures/girders.dm @@ -131,6 +131,10 @@ if(S.sheettype) var/M = S.sheettype + // Ugly hack, will suffice for now. Need to fix it upstream as well, may rewrite mineral walls. ~Z + if(M in list("mhydrogen","osmium","tritium","platinum","iron")) + user << "You cannot plate the girder in that material." + return if(!anchored) if(S.amount < 2) return S.use(2)