mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 22:12:58 +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,4 @@
|
||||
var/global/ntnet_card_uid = 1
|
||||
GLOBAL_VAR_INIT(ntnet_card_uid, 1)
|
||||
|
||||
/obj/item/computer_hardware/network_card
|
||||
name = "basic NTNet network card"
|
||||
@@ -30,8 +30,8 @@ var/global/ntnet_card_uid = 1
|
||||
|
||||
/obj/item/computer_hardware/network_card/Initialize()
|
||||
. = ..()
|
||||
identification_id = ntnet_card_uid
|
||||
ntnet_card_uid++
|
||||
identification_id = GLOB.ntnet_card_uid
|
||||
GLOB.ntnet_card_uid++
|
||||
|
||||
/obj/item/computer_hardware/network_card/signaler
|
||||
name = "NTNet signaler network card"
|
||||
|
||||
Reference in New Issue
Block a user