Skip to content

Commit de6311b

Browse files
committed
hate
1 parent aa15233 commit de6311b

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

lovely/code.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -785,12 +785,9 @@ match_indent = true
785785

786786
[[patches]]
787787
[patches.pattern]
788-
target = 'functions/common_events.lua'
789-
pattern = '''
790-
if G.GAME.hands[h].played > 0 then
791-
'''
788+
target = "functions/common_events.lua"
789+
pattern = "if G.GAME.hands[h].played > 0 then"
792790
position = "at"
793791
payload = '''
794-
if (G.GAME.hands[h].played or 0) > 0 then
795792
'''
796-
match_indent = true
793+
match_indent = true

lovely/planet.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ elseif v.config.hand_type then
1717
softlocked = G.GAME.hands[v.config.hand_type].played == 0
1818
elseif v.config.hand_types then
1919
for _, h in pairs(v.config.hand_types) do
20-
if G.GAME.hands[h].played > 0 then
20+
if (G.GAME.handscry_Declare or 0) > 0 then
2121
softlocked = false
2222
end
2323
end

0 commit comments

Comments
 (0)