mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-28 07:06:19 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user