Merge pull request #206 from Aws0mee/patch-1

Update sv_groups.lua
This commit is contained in:
Zach P 2022-09-21 10:14:29 -07:00 committed by GitHub
commit 86b84a37c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ function groups.init()
xgui.addCmd( "setinheritance", groups.setInheritance )
function xgui.playerExistsByID( id )
for k, v in pairs( player.GetAll() ) do
for k, v in ipairs( player.GetAll() ) do
if v:SteamID() == id or v:UniqueID() == id or ULib.splitPort( v:IPAddress() ) == id then
return v
end