Skip to content

Commit ddb551b

Browse files
I don't think this is needed anymore
1 parent a89f6c6 commit ddb551b

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

lovely/misc.toml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -433,23 +433,6 @@ end
433433
'''
434434
match_indent = true
435435

436-
# avoids a game-locking crash related to opened booster being nil
437-
# remove this as soon as a fix is done
438-
[[patches]]
439-
[patches.pattern]
440-
target = "game.lua"
441-
pattern = "SMODS.OPENED_BOOSTER.config.center:update_pack(dt)"
442-
position = "at"
443-
payload = '''
444-
if not SMODS.OPENED_BOOSTER then
445-
G.STATE = G.STATES.SHOP
446-
print('Error: SMODS.OPENED_BOOSTER is nil. Game recovered by setting game state to shop.')
447-
else
448-
SMODS.OPENED_BOOSTER.config.center:update_pack(dt)
449-
end
450-
'''
451-
match_indent = true
452-
453436
# Created cards match suits of suit deck
454437
[[patches]]
455438
[patches.pattern]
@@ -674,4 +657,4 @@ payload = '''
674657
local safe_seal = type(other.ability.seal) == "table" and other.ability.seal or {}
675658
for k, v in pairs(safe_seal) do
676659
'''
677-
match_indent = true
660+
match_indent = true

0 commit comments

Comments
 (0)