diff --git a/code/modules/research/protolathe.dm b/code/modules/research/protolathe.dm index d16d622438d..de1a92ec018 100644 --- a/code/modules/research/protolathe.dm +++ b/code/modules/research/protolathe.dm @@ -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)