mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Fix: Economy machinery now uses TGUI input + global bank pin range defines (#27913)
* economy machinery now uses tgui_input_number * Update code/modules/economy/economy_machinery/economy_machinery.dm Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> * pin range defines + replacing hardcoded ranges * account pin generator uses defines --------- Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Toastical <toastical@toaster.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Toastical <toast@toaster.com>
This commit is contained in:
co-authored by
Toastical
Burzah
Toastical
parent
1491299772
commit
4af0352394
@@ -462,7 +462,7 @@
|
||||
var/attempt_pin = pin
|
||||
if(customer_account.security_level != ACCOUNT_SECURITY_ID && !attempt_pin)
|
||||
//if pin is not given, we'll prompt them here
|
||||
attempt_pin = tgui_input_number(user, "Enter pin code", "Vendor transaction", max_value = 99999)
|
||||
attempt_pin = tgui_input_number(user, "Enter pin code", "Vendor transaction", max_value = BANK_PIN_MAX, min_value = BANK_PIN_MIN)
|
||||
if(!Adjacent(user) || !attempt_pin)
|
||||
return FALSE
|
||||
var/is_admin = is_admin(user)
|
||||
|
||||
Reference in New Issue
Block a user