Skip to content

Commit 75bf257

Browse files
committed
Fix #1087
1 parent f1739de commit 75bf257

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lovely/card_limit.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ version = "1.0.0"
33
dump_lua = true
44
priority = -10
55

6+
# Reset SMODS.cards_to_draw on game start
7+
[[patches]]
8+
[patches.pattern]
9+
target = 'game.lua'
10+
match_indent = true
11+
position = 'after'
12+
pattern = '''
13+
local saveTable = args.savetext or nil
14+
'''
15+
payload = '''
16+
SMODS.cards_to_draw = nil
17+
'''
18+
19+
620
# Set metatable
721
[[patches]]
822
[patches.pattern]

0 commit comments

Comments
 (0)