From 47310a90106d31313c3371b180d5c82610a6a811 Mon Sep 17 00:00:00 2001 From: geoffbeier Date: Fri, 5 Jun 2020 03:04:24 -0400 Subject: [PATCH] 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 --- demo/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/main.lua b/demo/main.lua index e00e2db..56b7802 100644 --- a/demo/main.lua +++ b/demo/main.lua @@ -606,7 +606,7 @@ function updateParameters() s:SetValue(v) t:SetText("Repeat Speed " .. tostring(math.floor(v * 100) / 100)) - guiparams.waveform:SetChoice(waveFormList[sound.wavetype]) + guiparams.waveform:SetChoice(waveFormList[sound.waveform]) end function updateWaveCanvas(waveview)