forked from TeamUlysses/ulib
Micro-optimization to replace player.GetAll() with player.Iterator in the Invis hook think
This commit is contained in:
parent
402e0492a8
commit
eeec883c29
@ -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 @@
|
||||
1708618372
|
||||
1710039758
|
||||
|
Loading…
Reference in New Issue
Block a user