mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user