Skip to content

Commit

Permalink
Fix rule function menu
Browse files Browse the repository at this point in the history
This was broken since 1.1. Oops.
  • Loading branch information
veechs committed Feb 16, 2025
1 parent 40015fc commit f306dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/Rules.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function Rules:LoadBuiltinRuleFunctions()
elseif type(rule.ruleFunction) ~= "function" then
Bagshui:PrintError("Built-in rules must have a ruleFunction = function(rules, ruleArguments) property")
else
rule.templates = rule.templates or Bagshui.config.RuleFunctionTemplates[rule.functionNames[1]]
rule.ruleTemplates = rule.ruleTemplates or Bagshui.config.RuleFunctionTemplates[rule.functionNames[1]]
self:AddFunction(rule)
end
end
Expand Down

0 comments on commit f306dfd

Please sign in to comment.