be more consistent with event handling

This commit is contained in:
Reid 2025-03-01 23:53:40 -08:00
parent 2dc9305a4a
commit e0156a41de
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8

View file

@ -6,7 +6,7 @@ local speed = 0.05
colors[#colors + 1] = colors[1]
offset = offset / speed
function events.tick()
events.TICK:register(function ()
local newName = "["
for i = 1, #name, 1 do
@ -19,4 +19,4 @@ function events.tick()
newName = newName:sub(1, #newName - 1) .. "]"
nameplate.ALL:setText(newName)
end
end)