add client tag to default game interface data

This commit is contained in:
RaidMax 2022-09-24 10:06:07 -05:00
parent e88071684d
commit 12da0f463b
2 changed files with 2 additions and 1 deletions

View File

@ -670,6 +670,7 @@ OnClientDataReceived( event )
clientData.permissionLevel = event.data["level"];
clientData.clientId = event.data["clientId"];
clientData.lastConnection = event.data["lastConnection"];
clientData.tag = event.data["tag"];
clientData.state = "complete";
self.persistentClientId = event.data["clientId"];

View File

@ -427,7 +427,7 @@ function onReceivedDvar(server, dvarName, dvarValue, success) {
level: client.Level,
clientId: client.ClientId,
lastConnection: client.LastConnection,
tag: tagMeta?.Value
tag: tagMeta?.Value ?? ''
};
}