Restore: Micro-optimization to replace player.GetAll() with player.Iterator in the Invis hook think

This commit is contained in:
SticklyMan 2024-03-09 20:02:38 -07:00
parent 7eb152498e
commit fcaa4033ce
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -1 +1 @@
1711264844
1711265037