mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
Cannot use departmental budget cards as source of credit withdraw (#76113)
Currently you can put cargo's budget card into your PDA, go into NT Pay and send over the budget to any pay token you want including yours. This just adds a check to ensure you aren't using that kind of card as withdrawal source.
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
/obj/structure/closet/crate/secure/owned/Initialize(mapload, datum/bank_account/_buyer_account)
|
||||
. = ..()
|
||||
buyer_account = _buyer_account
|
||||
if(istype(buyer_account, /datum/bank_account/department))
|
||||
if(IS_DEPARTMENTAL_ACCOUNT(buyer_account))
|
||||
department_purchase = TRUE
|
||||
department_account = buyer_account
|
||||
|
||||
|
||||
Reference in New Issue
Block a user