Runtime fix for inputing the number of sheets that you want to add into a protolathe, when the sheet doesn't exist.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5486 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
aranclanos@hotmail.com
2013-01-07 12:06:31 +00:00
parent 6bb146262c
commit 75b8a38977

View File

@@ -134,6 +134,8 @@ Note: Must be placed west/left of and R&D console to function.
var/obj/item/stack/sheet/stack = O
var/amount = round(input("How many sheets do you want to add?") as num)//No decimals
if(!O)
return
if(amount < 0)//No negative numbers
amount = 0
if(amount == 0)