diff --git a/src/data/backwardsCompatibility/backwardsCompatibility.js b/src/data/backwardsCompatibility/backwardsCompatibility.js index 67d3def729c63e7471c500599e37f32af8294be5..b8028f1e64c312fabefae5f081f55b6b9bd97464 100644 --- a/src/data/backwardsCompatibility/backwardsCompatibility.js +++ b/src/data/backwardsCompatibility/backwardsCompatibility.js @@ -315,7 +315,7 @@ App.Update.globalVariables = function(node) { } if (V.farmyard) { - V.pit.animal = V.pit.animalType || V.pitAnimalType || null; + V.pit.animal = V.pit.animal || V.pitAnimalType || null; } V.pit.audience = V.pit.audience || V.pitAudience || "none"; diff --git a/src/data/backwardsCompatibility/datatypeCleanup.js b/src/data/backwardsCompatibility/datatypeCleanup.js index 0be7dfb3aaa6eefea99f8d80a9442f34ddb11df6..b84da47a8fac4ef04bc4dfb02733349d70c61db4 100644 --- a/src/data/backwardsCompatibility/datatypeCleanup.js +++ b/src/data/backwardsCompatibility/datatypeCleanup.js @@ -1571,7 +1571,6 @@ globalThis.FacilityDatatypeCleanup = (function() { V.cellblockName = V.cellblockName || "the Cellblock"; V.masterSuiteName = V.masterSuiteName || "the Master Suite"; V.HGSuiteName = V.HGSuiteName || "the Head Girl Suite"; - V.pit.name = V.pit.name || "the Pit"; V.incubatorName = V.incubatorName || "the Incubator"; V.farmyardName = V.farmyardName || "the Farmyard"; }