mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 07:13:45 +01: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
|
||||
assert((not self.list) or modlib.table.count(override) == #override, "list")
|
||||
else
|
||||
assert((not self.values) or self.values[override], "values")
|
||||
end
|
||||
assert((not self.values) or self.values[override], "values")
|
||||
if self.func then self.func(override) end
|
||||
return override
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user