From 03ec414849837b5fb4d39550295ee73c86287dc9 Mon Sep 17 00:00:00 2001
From: Anu <barrychahal@gmail.com>
Date: Mon, 21 Jun 2021 04:43:41 +0000
Subject: [PATCH] Cleanup clinicUpgradePurge to 0-2, as per !9571

---
 src/data/backwardsCompatibility/datatypeCleanup.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/data/backwardsCompatibility/datatypeCleanup.js b/src/data/backwardsCompatibility/datatypeCleanup.js
index d9ad4953de8..13dfef246ff 100644
--- a/src/data/backwardsCompatibility/datatypeCleanup.js
+++ b/src/data/backwardsCompatibility/datatypeCleanup.js
@@ -2002,7 +2002,7 @@ globalThis.FacilityDatatypeCleanup = (function() {
 		V.clinic = Math.max(+V.clinic, 0) || 0;
 		V.clinicUpgradeScanner = Math.clamp(+V.clinicUpgradeScanner, 0, 1) || 0;
 		V.clinicUpgradeFilters = Math.clamp(+V.clinicUpgradeFilters, 0, 1) || 0;
-		V.clinicUpgradePurge = Math.clamp(+V.clinicUpgradePurge, 0, 3) || 0;
+		V.clinicUpgradePurge = Math.clamp(+V.clinicUpgradePurge, 0, 2) || 0;
 		V.clinicObservePregnancy = Math.clamp(+V.clinicObservePregnancy, 0, 1) || 1;
 		V.clinicInflateBelly = Math.clamp(+V.clinicInflateBelly, 0, 1) || 0;
 		V.clinicSpeedGestation = Math.clamp(+V.clinicSpeedGestation, 0, 1) || 0;
-- 
GitLab