mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] code/global.dm => code/_global_vars/ (#10689)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a7718c6177
commit
f04f992cfe
@@ -48,7 +48,7 @@
|
||||
|
||||
/obj/machinery/cash_register/attack_hand(mob/user as mob)
|
||||
// Don't be accessible from the wrong side of the machine
|
||||
if(get_dir(src, user) & reverse_dir[src.dir]) return
|
||||
if(get_dir(src, user) & GLOB.reverse_dir[src.dir]) return
|
||||
|
||||
if(cash_open)
|
||||
if(cash_stored)
|
||||
|
||||
@@ -41,7 +41,7 @@ GLOBAL_VAR_INIT(economy_init, 0)
|
||||
|
||||
create_station_account()
|
||||
|
||||
for(var/department in station_departments)
|
||||
for(var/department in GLOB.station_departments)
|
||||
create_department_account(department)
|
||||
create_department_account("Vendor")
|
||||
GLOB.vendor_account = GLOB.department_accounts["Vendor"]
|
||||
@@ -53,7 +53,7 @@ GLOBAL_VAR_INIT(economy_init, 0)
|
||||
if(CR.account_to_connect)
|
||||
CR.linked_account = GLOB.department_accounts[CR.account_to_connect]
|
||||
|
||||
GLOB.current_date_string = "[num2text(rand(1,31))] [pick("January","February","March","April","May","June","July","August","September","October","November","December")], [game_year]"
|
||||
GLOB.current_date_string = "[num2text(rand(1,31))] [pick("January","February","March","April","May","June","July","August","September","October","November","December")], [GLOB.game_year]"
|
||||
|
||||
GLOB.economy_init = 1
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user