From b9c05a253e549e11794d769aa7e35a2ed32f3ce3 Mon Sep 17 00:00:00 2001
From: Flashfyre <flashfireex@gmail.com>
Date: Thu, 21 Dec 2023 11:46:50 -0500
Subject: [PATCH] Remove temporary compensation voucher logic

---
 src/system/game-data.ts | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/system/game-data.ts b/src/system/game-data.ts
index 66c811be786..ac76ce5a934 100644
--- a/src/system/game-data.ts
+++ b/src/system/game-data.ts
@@ -207,16 +207,6 @@ export class GameData {
     }
 
     if (data.voucherCounts) {
-      // TODO: Remove
-      if (data.voucherUnlocks && !data.voucherCounts.hasOwnProperty(VoucherType.GOLDEN)) {
-        data.voucherCounts[VoucherType.GOLDEN] = 0;
-        for (let v of Object.keys(data.voucherUnlocks)) {
-          const voucherType = vouchers[v].voucherType;
-          if (voucherType > VoucherType.REGULAR)
-            data.voucherCounts[VoucherType.REGULAR] += voucherType === VoucherType.GOLDEN ? 15 : voucherType === VoucherType.PREMIUM ? 5 : 4;
-        }
-      }
-
       Utils.getEnumKeys(VoucherType).forEach(key => {
         const index = VoucherType[key];
         this.voucherCounts[index] = data.voucherCounts[index] || 0;