mirror of
https://github.com/wiremod/advdupe2.git
synced 2025-03-04 03:03:05 -05:00
Fix constraint optimization not working on servers
This commit is contained in:
parent
f294fe2551
commit
20063e6519
@ -117,7 +117,7 @@ if(SERVER)then
|
||||
end
|
||||
|
||||
local function GetSortedConstraints( ply, constraints )
|
||||
if GetConVarNumber("advdupe2_sort_constraints") ~= 0 then
|
||||
if ply:GetInfo("advdupe2_sort_constraints") ~= 0 then
|
||||
return GroupConstraintOrder( ply, constraints )
|
||||
else
|
||||
return CreationConstraintOrder( constraints )
|
||||
|
Loading…
Reference in New Issue
Block a user