From 2467c9034d11559e1bd7109f2bfcd2d720a396a2 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Sun, 15 Aug 2021 22:23:56 -0500 Subject: [PATCH] Disable sb3 optimization again Mangling variable IDs can cause unexpected behaviors in the backpack, for example --- src/serialization/sb3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serialization/sb3.js b/src/serialization/sb3.js index bbf493e1..fa70cb7e 100644 --- a/src/serialization/sb3.js +++ b/src/serialization/sb3.js @@ -526,7 +526,7 @@ const serializeMonitors = function (monitors, runtime) { * @param {string=} targetId Optional target id if serializing only a single target * @return {object} Serialized runtime instance. */ -const serialize = function (runtime, targetId, {allowOptimization = true} = {}) { +const serialize = function (runtime, targetId, {allowOptimization = false} = {}) { // Fetch targets const obj = Object.create(null); // Create extension set to hold extension ids found while serializing targets