Lazy shitfix for non-existent mineral walls. Will port upstream fix when I get time for a mineral wall rewrite.

This commit is contained in:
Zuhayr
2015-01-31 20:26:10 +10:30
parent 8c107856e4
commit 037ea78503
+4
View File
@@ -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)