Clowns and Mimes acts no longer get ruined when you examine their ID cards (#40655)
cl Floyd / Qustinnus fix: Clown and Mimes their ID cards no longer show the name of some random weirdo. /cl fixes #40560 also removed some operations that dont need to happen in the first place
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
/datum/bank_account/New(newname, job)
|
||||
if(add_to_accounts)
|
||||
SSeconomy.bank_accounts += src
|
||||
account_holder = newname
|
||||
if(newname)
|
||||
account_holder = newname
|
||||
account_job = job
|
||||
account_id = rand(111111,999999)
|
||||
|
||||
|
||||
@@ -81,10 +81,12 @@
|
||||
if(!H)
|
||||
return FALSE
|
||||
if(!visualsOnly)
|
||||
var/datum/bank_account/bank_account = new(H.real_name, src)
|
||||
bank_account.account_holder = H.real_name
|
||||
bank_account.account_job = src
|
||||
bank_account.account_id = rand(111111,999999)
|
||||
var/obj/item/card/id/I = H.wear_id ? H.wear_id.GetID() : null
|
||||
var/datum/bank_account/bank_account
|
||||
if(I)
|
||||
bank_account = new(I.registered_name, src)
|
||||
else
|
||||
bank_account = new(H.real_name, src)
|
||||
bank_account.payday(STARTING_PAYCHECKS, TRUE)
|
||||
H.account_id = bank_account.account_id
|
||||
if(CONFIG_GET(flag/enforce_human_authority) && (title in GLOB.command_positions))
|
||||
|
||||
Reference in New Issue
Block a user