We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1d8fa5 commit c4d68a2Copy full SHA for c4d68a2
lovely.toml
@@ -1368,6 +1368,14 @@ position = 'at'
1368
payload = "text = localize{type='variable',key='a_xmult'..(to_big(amt)<to_big(0) and '_minus' or ''),vars={math.abs(amt)}}"
1369
match_indent = true
1370
1371
+[[patches]]
1372
+[patches.pattern]
1373
+target = 'functions/common_events.lua'
1374
+pattern = "if amt > 0 or amt < 0 then"
1375
+position = 'at'
1376
+payload = "if to_big(amt) > to_big(0) or to_big(amt) < to_big(0) then"
1377
+match_indent = true
1378
+
1379
[[patches]]
1380
[patches.regex]
1381
target = '=[SMODS _ "src/utils.lua"]'
0 commit comments