Skip to content

Commit

Permalink
Merge pull request #362 from Toneblock/main
Browse files Browse the repository at this point in the history
fix the other way to softlock in boosters
  • Loading branch information
GauntletGames-2086 authored Dec 29, 2024
2 parents b2f62b5 + cff47f3 commit c08a860
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lovely/fixes.toml
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,16 @@ if G.pack_cards and (not (G.GAME.STOP_USE and G.GAME.STOP_USE > 0)) and
'''
match_indent = true

# Due to STOP_USE being used we can remove this dumb check
# could probably remove the rest of it since it serves no purpose otherwise, but whatever
[[patches]]
[patches.regex]
target = "functions/button_callbacks.lua"
pattern = '''and \(G\.hand\.cards\[1\] or \(G\.hand\.config\.card_limit <= 0\)\)'''
position = "at"
payload = ''' '''
match_indent = true

# Fixes Steam API not loading on unix
[[patches]]
[patches.pattern]
Expand Down Expand Up @@ -648,4 +658,4 @@ position = "at"
payload = """local success, _st = pcall(require, 'luasteam')
if success then st = _st end"""
overwrite = true
match_indent = true
match_indent = true

0 comments on commit c08a860

Please sign in to comment.