ElEditors, Interface administrators, Administrators
70,892
edits
No edit summary |
No edit summary |
||
Line 296: | Line 296: | ||
local inheritArg = (args[prefix .. inheritKey .. damageType] or args[inheritKey .. damageType]) or (args[prefix .. inheritKey] or args[inheritKey]) | local inheritArg = (args[prefix .. inheritKey .. damageType] or args[inheritKey .. damageType]) or (args[prefix .. inheritKey] or args[inheritKey]) | ||
if inheritArg and inheritArg[i] and type(inheritArg[i]) ~= "string" | if inheritArg and inheritArg[i] and type(inheritArg[i]) ~= "string" then | ||
mainArgValues[i] = applyInheritance(mainArgValues, inheritArg, mainArgValue, inheritArg[i]) | mainArgValues[i] = applyInheritance(mainArgValues, inheritArg, mainArgValue, inheritArg[i]) | ||
break | break |