Fixes the nanobank tgui input window not being able to accept pin codes above 10000 (#24576)

* make max_value actually fit pin code

* iam officially blind

* fixes the same issue with setting the money account on a agent id
This commit is contained in:
PopGamer46
2024-03-14 18:37:31 +00:00
committed by GitHub
parent e562ff5309
commit 729dc56965
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -241,7 +241,7 @@
error_message(user, "Incorrect Credentials")
/datum/data/pda/app/nanobank/proc/input_account_pin(mob/user)
var/attempt_pin = tgui_input_number(user, "Enter pin code", "NanoBank Account Auth")
var/attempt_pin = tgui_input_number(user, "Enter pin code", "NanoBank Account Auth", max_value = 99999)
if(!user_account || !attempt_pin)
return
return attempt_pin