mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-29 19:42:42 +00:00
Account numbers that reach 999999 will wrap to 111111 (#12423)
This commit is contained in:
@@ -49,6 +49,8 @@ var/datum/controller/subsystem/economy/SSeconomy
|
||||
station_account.owner_name = "[station_name()] Station Account"
|
||||
station_account.account_number = next_account_number
|
||||
next_account_number += rand(1,500)
|
||||
if(next_account_number > 999999) //If we're hitting 7 digits, reset to the minimum and increase from there.
|
||||
next_account_number = 111111 + rand(1,500)
|
||||
station_account.remote_access_pin = rand(1111, 111111)
|
||||
station_account.money = 75000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user