Merge pull request #413 from argonui/token-arranger

Token Arranger: more bugfixing
This commit is contained in:
Entrox-Licher 2023-10-20 09:36:48 -04:00 committed by GitHub
commit 43d912c0e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,6 +312,10 @@ function layout(_, _, isRightClick)
local value = tonumber(objData.Nickname)
local precedence = tokenPrecedence[objData.Nickname]
-- remove GUID to avoid issues for high latency clients
objData["GUID"] = nil
-- store data with value / precendence
data[i] = {
token = objData,
value = value or precedence[1]