Skip to content

Commit

Permalink
Fix unable to turn off sorting (wiremod#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparky authored Jan 12, 2020
1 parent 6b68e99 commit 6ba983e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/weapons/gmod_tool/stools/advdupe2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 6ba983e

Please sign in to comment.