Turn more unmanaged global vars into GLOB (#20446)

Turned a ton of unmanaged globals into managed globals.
Refactored some UT output.
Removed some unused things, including vars.
Added a test to ensure people don't keep adding new unmanaged vars.
This commit is contained in:
Fluffy
2025-02-17 23:34:02 +00:00
committed by GitHub
parent eff1fb22de
commit 7265630dde
377 changed files with 1893 additions and 2288 deletions
@@ -1,4 +1,5 @@
var/global/ntnrc_uid = 0
GLOBAL_VAR_INIT(ntnrc_uid, 0)
/datum/ntnet_conversation
var/id
var/title = "Untitled Conversation"
@@ -9,8 +10,8 @@ var/global/ntnrc_uid = 0
var/password
/datum/ntnet_conversation/New(var/name, var/no_operator)
id = ntnrc_uid
ntnrc_uid++
id = GLOB.ntnrc_uid
GLOB.ntnrc_uid++
if(name)
title = name
if(GLOB.ntnet_global)