be more consistent with event handling
This commit is contained in:
parent
2dc9305a4a
commit
e0156a41de
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue