This commit is contained in:
pudl
2015-06-18 04:56:09 -05:00
parent a7b9c7d9c9
commit 8a8dde0f73
+1 -1
View File
@@ -158,7 +158,7 @@
if(locked)
user << "<span class='notice'>The crate is locked with a Deca-code lock.</span>"
var/input = input(usr, "Enter [codelen] digits.", "Deca-Code Lock", "") as text
if(in_range(src, user) || !user.incapacitated)
if(in_range(src, user) || !user.incapacitated())
if (input == code)
user << "<span class='notice'>The crate unlocks!</span>"
locked = 0