From c8e9a34e7d6226edb005da9b3ff36b75ec51619b Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@mailbox.org> Date: Mon, 27 Jun 2022 12:53:57 +0200 Subject: [PATCH] fix RA advanced mode BC --- src/002-config/fc-version.js | 2 +- src/data/backwardsCompatibility/datatypeCleanup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/002-config/fc-version.js b/src/002-config/fc-version.js index f4d6e7d1f1a..f575c26a965 100644 --- a/src/002-config/fc-version.js +++ b/src/002-config/fc-version.js @@ -2,5 +2,5 @@ App.Version = { base: "0.10.7.1", // The vanilla version the mod is based off of, this should never be changed. pmod: "4.0.0-alpha.17", commitHash: null, - release: 1172, // When getting close to 2000, please remove the check located within the onLoad() function defined at line five of src/js/eventHandlers.js. + release: 1173, // When getting close to 2000, please remove the check located within the onLoad() function defined at line five of src/js/eventHandlers.js. }; diff --git a/src/data/backwardsCompatibility/datatypeCleanup.js b/src/data/backwardsCompatibility/datatypeCleanup.js index dc90d89df37..4cdc80a5be3 100644 --- a/src/data/backwardsCompatibility/datatypeCleanup.js +++ b/src/data/backwardsCompatibility/datatypeCleanup.js @@ -2309,7 +2309,7 @@ App.Entity.Utils.RARuleDatatypeCleanup = function() { return jobs[assignment]; } - if (!cond.hasOwnProperty("advancedMode")) { + if (V.releaseID < 1173) { cond.advancedMode = true; } } -- GitLab