mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 14:16:58 +01:00
[MIRROR] More globals (#12530)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
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)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user