Skip to content

Commit f5c517f

Browse files
Fix Undiscovered cat tag playing sound
1 parent 25d4b6e commit f5c517f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lovely/cat.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ target = "tag.lua"
177177
pattern = '''play_sound('tarot2', math.random()*0.1 + 0.55, 0.09)'''
178178
position = "before"
179179
payload = '''
180-
if self.key == 'tag_cry_cat' then
180+
if self.key == 'tag_cry_cat' and not self.hide_ability then
181181
play_sound('cry_meow'..math.random(4), 1.26, 0.12);
182182
end'''
183183
match_indent = true
@@ -332,4 +332,4 @@ if self.ability.shiny then
332332
end
333333
end
334334
'''
335-
match_indent = true
335+
match_indent = true

0 commit comments

Comments
 (0)