Skip to content

Commit 9826287

Browse files
Merge pull request SpectralPack#593 from MeraGenio/patch-1
i looked at it close, it shouldn't affect cryptid at all
2 parents 77b0d31 + 7accde4 commit 9826287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lovely/misc.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ target = "functions/misc_functions.lua"
192192
pattern = "function localize(args, misc_cat)"
193193
position = "after"
194194
payload = '''
195-
if args and args.vars then
195+
if args and args.vars and type(args.vars) == "table" then
196196
local reset = {}
197197
for i, j in pairs(args.vars) do
198198
if type(j) == 'table' then
@@ -491,4 +491,4 @@ position = "after"
491491
payload = '''
492492
if Cryptid.forced_edition() then self:nope() end
493493
'''
494-
match_indent = true
494+
match_indent = true

0 commit comments

Comments
 (0)