mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user