Skip to content

Commit

Permalink
Fix case issue in setdefault
Browse files Browse the repository at this point in the history
Sent from my IPhone
  • Loading branch information
XeroOl authored Nov 14, 2023
1 parent cde3fd0 commit cd781dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/template.lua
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ end
-- set the default value of a mod
local function setdefault(self)
for i = 1, #self, 2 do
default_mods[self[i + 1]] = self[i]
default_mods[string.lower(self[i + 1])] = self[i]
end
return setdefault
end
Expand Down

0 comments on commit cd781dd

Please sign in to comment.