forked from TeamUlysses/ulib
Restore: Micro-optimization to replace player.GetAll() with player.Iterator in the Invis hook think
This commit is contained in:
parent
7eb152498e
commit
fcaa4033ce
@ -112,9 +112,8 @@ end
|
||||
|
||||
|
||||
local function doInvis()
|
||||
local players = player.GetAll()
|
||||
local remove = true
|
||||
for _, player in ipairs( players ) do
|
||||
for _, player in player.Iterator() do
|
||||
local t = player:GetTable()
|
||||
if t.invis then
|
||||
remove = false
|
||||
|
@ -1 +1 @@
|
||||
1711264844
|
||||
1711265037
|
||||
|
Loading…
Reference in New Issue
Block a user