beta1 release #46

Merged
mr.zero merged 30 commits from develop into master 2026-03-22 22:49:23 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit e12a27e4e1 - Show all commits

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