diff --git a/HISTORY.md b/HISTORY.md
index ca0d5b6a..3ea951a4 100755
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -55,6 +55,9 @@
* Chinese, thanks, Simon!
* Brazilian Portuguese, thank you, Cassiano D'Andrea!
+### 2021-11-12
+* store: fixed importing custom categories from libraries, thanks, Eckart, for reporting this!
+
### 2021-11-11
* German translation update, changed %hsva -> %clrdim
* Brazilian Portuguese translation update, thank you, Cassiano D'Andrea!!
diff --git a/snap.html b/snap.html
index 861db2db..d14289bd 100755
--- a/snap.html
+++ b/snap.html
@@ -30,7 +30,7 @@
-
+
diff --git a/src/store.js b/src/store.js
index b03fcb77..f1803ef7 100644
--- a/src/store.js
+++ b/src/store.js
@@ -63,7 +63,7 @@ Project*/
// Global stuff ////////////////////////////////////////////////////////
-modules.store = '2021-November-11';
+modules.store = '2021-November-12';
// XML_Serializer ///////////////////////////////////////////////////////
/*
@@ -675,8 +675,8 @@ SnapSerializer.prototype.loadBlocks = function (xmlString, targetStage) {
}
model.palette = model.childNamed('palette');
if (model.palette) {
- SpriteMorph.prototype.customCategories = this.loadPalette(
- model.palette
+ this.loadPalette(model.palette).forEach((value, key) =>
+ SpriteMorph.prototype.customCategories.set(key, value)
);
}
model.removeChild(model.palette);