mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[MIRROR] Cannot use departmental budget cards as source of credit withdraw [MDB IGNORE] (#21915)
* 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. * Cannot use departmental budget cards as source of credit withdraw --------- Co-authored-by: Pepsilawn <reisenrui@gmail.com>
This commit is contained in:
@@ -218,7 +218,7 @@
|
||||
if(!istype(id_card))
|
||||
computer.say("No ID card detected.")
|
||||
return
|
||||
if(istype(id_card, /obj/item/card/id/departmental_budget))
|
||||
if(IS_DEPARTMENTAL_CARD(id_card))
|
||||
computer.say("[id_card] cannot be used to make purchases.")
|
||||
return
|
||||
account = id_card.registered_account
|
||||
|
||||
Reference in New Issue
Block a user