Fix unable to turn off sorting (#274)

This commit is contained in:
Sparky 2020-01-11 20:33:19 -05:00 committed by GitHub
parent 6b68e998de
commit 6ba983e122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ if(SERVER)then
end
local function GetSortedConstraints( ply, constraints )
if ply:GetInfo("advdupe2_sort_constraints") ~= 0 then
if ply:GetInfo("advdupe2_sort_constraints") ~= "0" then
return GroupConstraintOrder( ply, constraints )
else
return CreationConstraintOrder( constraints )