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
@@ -534,7 +534,7 @@
RebuildHTML()
if("Money Account")
var/new_account = tgui_input_number(user, "What money account would you like to link to this card?", "Agent Card Account", 12345)
var/new_account = tgui_input_number(user, "What money account would you like to link to this card?", "Agent Card Account", 12345, max_value = 9999999)
if(!Adjacent(user) || !new_account)
return
associated_account_number = new_account