mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-20 20:54:35 +01:00
[MIRROR] More globals (#12530)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
de8fed65df
commit
4f5dce5ebe
@@ -1,4 +1,4 @@
|
||||
var/global/ntnrc_uid = 0
|
||||
GLOBAL_VAR_INIT(ntnrc_uid, 0)
|
||||
|
||||
/datum/ntnet_conversation/
|
||||
var/id = null
|
||||
@@ -9,8 +9,8 @@ var/global/ntnrc_uid = 0
|
||||
var/password
|
||||
|
||||
/datum/ntnet_conversation/New()
|
||||
id = ntnrc_uid
|
||||
ntnrc_uid++
|
||||
id = GLOB.ntnrc_uid
|
||||
GLOB.ntnrc_uid++
|
||||
if(GLOB.ntnet_global)
|
||||
GLOB.ntnet_global.chat_channels.Add(src)
|
||||
..()
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
var/warrant_uid = 0
|
||||
GLOBAL_VAR_INIT(warrant_uid, 0)
|
||||
|
||||
/datum/datacore
|
||||
var/list/warrants = list()
|
||||
|
||||
@@ -7,7 +8,7 @@ var/warrant_uid = 0
|
||||
|
||||
/datum/data/record/warrant/New()
|
||||
..()
|
||||
warrant_id = warrant_uid++
|
||||
warrant_id = GLOB.warrant_uid++
|
||||
|
||||
/datum/computer_file/program/digitalwarrant
|
||||
filename = "digitalwarrant"
|
||||
|
||||
@@ -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"
|
||||
@@ -35,8 +35,8 @@ var/global/ntnet_card_uid = 1
|
||||
|
||||
/obj/item/computer_hardware/network_card/Initialize(mapload)
|
||||
. = ..()
|
||||
identification_id = ntnet_card_uid
|
||||
ntnet_card_uid++
|
||||
identification_id = GLOB.ntnet_card_uid
|
||||
GLOB.ntnet_card_uid++
|
||||
|
||||
/obj/item/computer_hardware/network_card/advanced
|
||||
name = "advanced NTNet network card"
|
||||
|
||||
Reference in New Issue
Block a user