mirror of
https://github.com/nucular/sfxrlua.git
synced 2024-12-24 18:44:20 +00:00
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:
parent
5ac67575d6
commit
47310a9010
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user