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 b27b5be commit aa15233Copy full SHA for aa15233
lovely/code.toml
@@ -771,8 +771,6 @@ payload = '''
771
'''
772
match_indent = true
773
774
-
775
776
[[patches]]
777
[patches.pattern]
778
target = '''=[SMODS _ "src/overrides.lua"]'''
@@ -785,3 +783,14 @@ for k, v in pairs(SMODS.PokerHands[key] or {}) do
785
783
786
784
787
+[[patches]]
+[patches.pattern]
788
+target = 'functions/common_events.lua'
789
+pattern = '''
790
+if G.GAME.hands[h].played > 0 then
791
+'''
792
+position = "at"
793
+payload = '''
794
+if (G.GAME.hands[h].played or 0) > 0 then
795
796
+match_indent = true
0 commit comments