mirror of
https://github.com/CFC-Servers/material-editor-tool.git
synced 2025-03-04 03:13:00 -05:00
Use ipairs instead of pairs (#6)
This commit is contained in:
parent
9038f4315e
commit
bc7ae04c7b
@ -245,7 +245,7 @@ else
|
||||
table.insert( requestQueue, net.ReadEntity() )
|
||||
end
|
||||
|
||||
for _, ent in pairs( requestQueue ) do
|
||||
for _, ent in ipairs( requestQueue ) do
|
||||
if IsValid( ent ) and ent.MaterialData then
|
||||
syncTable[ply] = syncTable[ply] or {}
|
||||
table.insert( syncTable[ply], ent )
|
||||
|
Loading…
Reference in New Issue
Block a user