Fix for new "ModFlagOr" tag not functioning properly
The "ModFlagOr" tag was checking against cfg.modFlags which does not exist - Changed it to cfg.flags which is the proper name.
This commit is contained in:
@@ -429,10 +429,10 @@ function ModStoreClass:EvalMod(mod, cfg)
|
||||
return
|
||||
end
|
||||
elseif tag.type == "ModFlagOr" then
|
||||
if not cfg or not cfg.modFlags then
|
||||
if not cfg or not cfg.flags then
|
||||
return
|
||||
end
|
||||
if band(cfg.modFlags, tag.modFlags) == 0 then
|
||||
if band(cfg.flags, tag.modFlags) == 0 then
|
||||
return
|
||||
end
|
||||
elseif tag.type == "KeywordFlagAnd" then
|
||||
|
||||
Reference in New Issue
Block a user