mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Merge pull request #9528 from Ty-Omaha/royal-bank-of-vending-machines
Fixes vending machine bank account security purchases
This commit is contained in:
@@ -386,9 +386,8 @@
|
||||
// empty at high security levels
|
||||
if(customer_account.security_level != 0) //If card requires pin authentication (ie seclevel 1 or 2)
|
||||
var/attempt_pin = input("Enter pin code", "Vendor transaction") as num
|
||||
customer_account = attempt_account_access(customer_account, attempt_pin, 2)
|
||||
|
||||
if(!customer_account)
|
||||
|
||||
if(!attempt_account_access(customer_account.account_number, attempt_pin, 2))
|
||||
src.status_message = "Unable to access account: incorrect credentials."
|
||||
src.status_error = 1
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user