[MIRROR] Conversion many Globals to Managed Globals (Part 1) (#10665)

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:
CHOMPStation2StaffMirrorBot
2025-04-17 16:06:35 -07:00
committed by GitHub
parent 06f0821bcf
commit f7219329ca
235 changed files with 1263 additions and 1255 deletions

View File

@@ -1,4 +1,4 @@
var/global/file_uid = 0
GLOBAL_VAR_INIT(file_uid, 0)
/datum/computer_file/
/// Placeholder. Whitespace and most special characters are not allowed.
@@ -26,8 +26,8 @@ var/global/file_uid = 0
/datum/computer_file/New(list/md = null)
..()
uid = file_uid
file_uid++
uid = GLOB.file_uid
GLOB.file_uid++
if(islist(md))
metadata = md.Copy()

View File

@@ -302,7 +302,7 @@
T.purpose = "Purchase of [(devtype == 1) ? "laptop computer" : "tablet microcomputer"]."
T.amount = total_price
T.source_terminal = src.name
T.date = current_date_string
T.date = GLOB.current_date_string
T.time = stationtime2text()
customer_account.transaction_log.Add(T)
return 1