From 28ed84e140e85de10699371fce7fa542d2d41aed Mon Sep 17 00:00:00 2001 From: Christian Lawson-Perfect Date: Thu, 19 Dec 2024 10:28:41 +0000 Subject: [PATCH] fix SCORMStorage.set I had changed all the calls to include the `cmi.` prefix, but forgot to remove it from the actual call to `pipwerks.SCORM.set`! --- runtime/scripts/scorm-storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/scripts/scorm-storage.js b/runtime/scripts/scorm-storage.js index 74a720d10..6555d79e2 100644 --- a/runtime/scripts/scorm-storage.js +++ b/runtime/scripts/scorm-storage.js @@ -123,7 +123,7 @@ SCORMStorage.prototype = /** @lends Numbas.storage.SCORMStorage.prototype */ { * @returns {boolean} - Did the call succeed? */ set: function(key,value) { - var val = pipwerks.SCORM.set('cmi.'+key,value); + var val = pipwerks.SCORM.set(key,value); return val; }, /** Get a SCORM data model element.