more bugfixing

This commit is contained in:
Chr1Z93 2023-10-17 10:50:15 +02:00
parent b1e754bc09
commit 2556c0d83d

View File

@ -312,6 +312,10 @@ function layout(_, _, isRightClick)
local value = tonumber(objData.Nickname) local value = tonumber(objData.Nickname)
local precedence = tokenPrecedence[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] = { data[i] = {
token = objData, token = objData,
value = value or precedence[1] value = value or precedence[1]