Skip to content

Commit eead56e

Browse files
committed
Fix quantum enhancements cycling
1 parent 766246f commit eead56e

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

lovely/center.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,17 @@ match_indent = true
4141
[patches.pattern]
4242
target = 'card.lua'
4343
match_indent = true
44-
position = 'before'
44+
position = 'at'
4545
pattern = '''
4646
self:set_sprites(center)
4747
'''
4848
payload = '''
49-
SMODS.clean_up_children(self.children)
50-
if self.canvas_text then SMODS.clean_up_canvas_text(self) end
51-
if self.playing_card and self.ability and not self:should_hide_front() then self:set_sprites(nil, self.config.card) end
49+
if delay_sprites ~= 'quantum' then
50+
SMODS.clean_up_children(self.children)
51+
if self.canvas_text then SMODS.clean_up_canvas_text(self) end
52+
if self.playing_card and self.ability and not self:should_hide_front() then self:set_sprites(nil, self.config.card) end
53+
self:set_sprites(center)
54+
end
5255
'''
5356

5457

version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "1.0.0~BETA-1502b-STEAMODDED"
1+
return "1.0.0~BETA-1502c-STEAMODDED"

0 commit comments

Comments
 (0)