diff --git a/voicegardens/static/voicegardens.js b/voicegardens/static/voicegardens.js index c11165b..b79b562 100644 --- a/voicegardens/static/voicegardens.js +++ b/voicegardens/static/voicegardens.js @@ -387,9 +387,9 @@ function draw() { translate(screenX, screenY); if (newSoundJustRecorded === true) { - newShape = new GeneratedShape(); + let newShape = new GeneratedShape(); shapes.push(newShape); - addToArchive(newShape); + addToFooterArchive(newShape); newSoundJustRecorded = false; }