mirror of
https://github.com/appgurueu/modlib.git
synced 2024-08-19 21:04:13 +02:00
Schema: Fix value set check
This commit is contained in:
parent
f9a2797c92
commit
d4465f5d9e
@ -295,9 +295,8 @@ function load(self, override, params)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
assert((not self.list) or modlib.table.count(override) == #override, "list")
|
assert((not self.list) or modlib.table.count(override) == #override, "list")
|
||||||
else
|
|
||||||
assert((not self.values) or self.values[override], "values")
|
|
||||||
end
|
end
|
||||||
|
assert((not self.values) or self.values[override], "values")
|
||||||
if self.func then self.func(override) end
|
if self.func then self.func(override) end
|
||||||
return override
|
return override
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user