mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fixes cash mashine department linking on spawn
This commit is contained in:
@@ -103,12 +103,12 @@ var/global/economy_init = 0
|
||||
create_department_account("Vendor")
|
||||
vendor_account = department_accounts["Vendor"]
|
||||
|
||||
for(var/obj/machinery/cash_register/RS in transaction_devices)
|
||||
for(var/obj/item/device/retail_scanner/RS in transaction_devices)
|
||||
if(RS.account_to_connect)
|
||||
RS.linked_account = department_accounts[RS.account_to_connect]
|
||||
for(var/obj/machinery/cash_register/CR in transaction_devices)
|
||||
if(CR.account_to_connect)
|
||||
CR.linked_account = department_accounts[CR.linked_account]
|
||||
CR.linked_account = department_accounts[CR.account_to_connect]
|
||||
|
||||
current_date_string = "[num2text(rand(1,31))] [pick("January","February","March","April","May","June","July","August","September","October","November","December")], [game_year]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user