Skip to content

Commit e69ec90

Browse files
committed
2 parents 49f00b1 + a004459 commit e69ec90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lovely/misprint.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ match_indent = true
4040
[[patches]]
4141
[patches.pattern]
4242
target = "card.lua"
43-
pattern = "G.GAME.pack_choices = self.config.center.config.choose or 1"
43+
pattern = "G.GAME.pack_choices = self.ability.choose or self.config.center.config.choose or 1"
4444
position = "after"
4545
payload = '''
4646
G.GAME.pack_choices = ((self.ability.choose and self.ability.extra) and math.min(math.floor(self.ability.extra), self.ability.choose)) or 1

0 commit comments

Comments
 (0)