You can no longer take non-integer amounts of sheets from a stack. (#23908)

This commit is contained in:
bgobandit
2017-02-10 12:16:23 -06:00
committed by KorPhaeron
parent 13f8ff110c
commit c75a97cd50
+1 -1
View File
@@ -251,7 +251,7 @@
//get amount from user
var/min = 0
var/max = src.get_amount()
var/stackmaterial = input(user,"How many sheets do you wish to take out of this stack? (Maximum [max]") as num
var/stackmaterial = round(input(user,"How many sheets do you wish to take out of this stack? (Maximum [max]") as num)
if(stackmaterial == null || stackmaterial <= min || stackmaterial >= src.get_amount())
return
else