mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
No longer resets account to zero when adjusting money while it is negative (#11944)
This commit is contained in:
@@ -32,9 +32,7 @@
|
|||||||
|
|
||||||
/datum/bank_account/proc/_adjust_money(amt)
|
/datum/bank_account/proc/_adjust_money(amt)
|
||||||
account_balance += amt
|
account_balance += amt
|
||||||
if(account_balance < 0)
|
if(account_balance > 1000000 && !is_bourgeois) // if we are now a millionaire, give the achievement
|
||||||
account_balance = 0
|
|
||||||
else if(account_balance > 1000000 && !is_bourgeois) // if we are now a millionaire, give the achievement
|
|
||||||
//So we currently only know what is *supposed* to be the real_name of the client's mob. If we can find them, we can get them this achievement.
|
//So we currently only know what is *supposed* to be the real_name of the client's mob. If we can find them, we can get them this achievement.
|
||||||
for(var/x in GLOB.player_list)
|
for(var/x in GLOB.player_list)
|
||||||
var/mob/M = x
|
var/mob/M = x
|
||||||
|
|||||||
Reference in New Issue
Block a user