From db26aec15f39c27f4eb8c4f806d511cbd66f4fe6 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Fri, 7 Feb 2020 12:53:10 +0100 Subject: [PATCH] Fix typo with variable --- voicegardens/static/voicegardens.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }