negate the output of location_set:empty, fixing logic error and
ensuring that a boolean value is returned
This commit is contained in:
parent
ae3697d4e8
commit
9fb47d7f1f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ local methods = {}
|
|||
local locset_meta = { __index = methods }
|
||||
|
||||
function methods:empty()
|
||||
return next(self.values)
|
||||
return (not next(self.values))
|
||||
end
|
||||
|
||||
function methods:size()
|
||||
|
|
Loading…
Add table
Reference in a new issue