mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user