field name in the sound table is waveform not wavetype... this is probably a longstanding bug brought to the fore by the fact that loveframes now crashes if the choice value is nil

This commit is contained in:
geoffbeier 2020-06-05 03:04:24 -04:00
parent 5ac67575d6
commit 47310a9010

View File

@ -606,7 +606,7 @@ function updateParameters()
s:SetValue(v) s:SetValue(v)
t:SetText("Repeat Speed " .. tostring(math.floor(v * 100) / 100)) t:SetText("Repeat Speed " .. tostring(math.floor(v * 100) / 100))
guiparams.waveform:SetChoice(waveFormList[sound.wavetype]) guiparams.waveform:SetChoice(waveFormList[sound.waveform])
end end
function updateWaveCanvas(waveview) function updateWaveCanvas(waveview)