- linter fixes
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-03-22 21:53:51 +01:00
parent 53ccda7702
commit e12a27e4e1
2 changed files with 3 additions and 3 deletions

View File

@@ -656,7 +656,7 @@ local function musicator_count_notes(sequence)
local result = 0
for _,v in ipairs(sequence) do
if not (v == "...") then
if v ~= "..." then
result = result + 1
end
end
@@ -729,7 +729,7 @@ local function musicator_sequence_to_pattern(sequence, bpm, spd)
local result = {}
for i, note in ipairs(sequence) do
if not (note == "...") then
if not note ~= "..." then
local at_ms = musicator_row_to_frame(i, bpm, spd)
local direction = musicator_note_to_direction(note)

View File

@@ -13,7 +13,7 @@ end
--- Plays track, doesn't restart if already playing.
function Audio.music_play(track)
if not (Audio.music_playing == track) then
if Audio.music_playing ~= track then
music(track)
Audio.music_playing = track
end