Skip to content

Commit

Permalink
Early fix for accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
vinylspiders authored and Iajret committed Sep 23, 2024
1 parent 6c8bebb commit 2f0733a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/economy/account.dm
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@

if(old_job)
SSeconomy.bank_accounts_by_job[old_job.type] -= src
LAZYADD(SSeconomy.bank_accounts_by_job[new_job.type], src)
if(new_job) // NOVA EDIT CHANGE - early fix
LAZYADD(SSeconomy.bank_accounts_by_job[new_job.type], src) // NOVA EDIT CHANGE - early fix

/datum/bank_account/vv_edit_var(var_name, var_value) // just so you don't have to do it manually
var/old_id = account_id
Expand Down

0 comments on commit 2f0733a

Please sign in to comment.