From c55f90a29815f68dc24a912370db8f6ff9360f8e Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Thu, 15 Apr 2021 12:33:06 +0200
Subject: [PATCH] Fix options in preset challenges

---
 client/src/views/Hall.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue
index c3c81282..bdb28050 100644
--- a/client/src/views/Hall.vue
+++ b/client/src/views/Hall.vue
@@ -1134,7 +1134,7 @@ export default {
         alert(this.st.tr["Challenge already exists"]);
         return;
       }
-      if (this.newchallenge.memorize) this.addPresetChall(this.newchallenge);
+      if (this.newchallenge.memorize) this.addPresetChall(chall);
       delete chall["V"];
       delete chall["diag"];
       const finishAddChallenge = cid => {
-- 
2.44.0