Fixes small typo in girders.dm

Prevented borgs building a false wall

Fixes #10874
This commit is contained in:
Orange Borg
2015-07-29 13:22:48 +12:00
parent a0b7739aba
commit 2eb50b644a
+1 -1
View File
@@ -102,7 +102,7 @@
return
user << "<span class='notice'>You start building a false wall...</span>"
if(do_after(user, 20, target = src))
if(!src.loc || !S || S.amount < 2)
if(!src.loc || !S || S.get_amount(2))
return
S.use(2)
user << "<span class='notice'>You create a false wall. Push on it to open or close the passage.</span>"