Merge pull request #97 from cbeck88/location_set_empty
fix logic error in location_set:empty
This commit is contained in:
commit
521f449c2b
2 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@ Version 1.11.9+dev:
|
|||
flag breaks building.
|
||||
* Updated screenshots used inside the ingame help and fixed description of
|
||||
orbs.
|
||||
* Fixed bug #21659: lua location_set:empty now works as described
|
||||
|
||||
Version 1.11.9:
|
||||
* Add-ons client:
|
||||
|
|
|
@ -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