mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +01:00
Paperbin fix, now doesn't silently fail if it has papers shoved into it.
This commit is contained in:
@@ -36,9 +36,9 @@
|
||||
var/response = ""
|
||||
if(!papers.len > 0)
|
||||
response = alert(user, "Do you take regular paper, or Carbon copy paper?", "Paper type request", "Regular", "Carbon-Copy", "Cancel")
|
||||
if (response != "Regular" && response != "Carbon-Copy")
|
||||
add_fingerprint(user)
|
||||
return
|
||||
if (response != "Regular" && response != "Carbon-Copy")
|
||||
add_fingerprint(user)
|
||||
return
|
||||
if(amount >= 1)
|
||||
amount--
|
||||
if(amount==0)
|
||||
@@ -94,4 +94,4 @@
|
||||
if(amount < 1)
|
||||
icon_state = "paper_bin0"
|
||||
else
|
||||
icon_state = "paper_bin1"
|
||||
icon_state = "paper_bin1"
|
||||
|
||||
Reference in New Issue
Block a user