You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lovely/center.toml
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -41,38 +41,38 @@ match_indent = true
41
41
[patches.pattern]
42
42
target = 'card.lua'
43
43
match_indent = true
44
-
position = 'at'
44
+
position = 'after'
45
45
pattern = '''
46
-
self:set_sprites(center)
46
+
if delay_sprites then
47
47
'''
48
48
payload = '''
49
-
SMODS.clean_up_children(self.children)
50
-
if self.canvas_text then SMODS.clean_up_canvas_text(self) end
51
-
if self.ability and (center.set == 'Enhanced' or center.set == 'Default') and not self:should_hide_front() then self:set_sprites(nil, self.config.card) end
52
-
self:set_sprites(center)
49
+
if delay_sprites ~= 'quantum' then
53
50
'''
54
51
[[patches]]
55
52
[patches.pattern]
56
53
target = 'card.lua'
57
54
match_indent = true
58
-
position = 'after'
55
+
position = 'before'
59
56
pattern = '''
60
-
if delay_sprites then
57
+
else
58
+
self:set_sprites(center)
61
59
'''
62
60
payload = '''
63
-
if delay_sprites ~= 'quantum' then
61
+
end
64
62
'''
65
63
[[patches]]
66
64
[patches.pattern]
67
65
target = 'card.lua'
68
66
match_indent = true
69
-
position = 'before'
67
+
position = 'at'
70
68
pattern = '''
71
-
else
72
-
self:set_sprites(center)
69
+
self:set_sprites(center)
73
70
'''
74
71
payload = '''
75
-
end
72
+
SMODS.clean_up_children(self.children)
73
+
if self.canvas_text then SMODS.clean_up_canvas_text(self) end
74
+
if self.ability and (center.set == 'Enhanced' or center.set == 'Default') and not self:should_hide_front() then self:set_sprites(nil, self.config.card) end
0 commit comments