From 68786d76035bcdad4cbd22eac0ae1aba74197141 Mon Sep 17 00:00:00 2001 From: SeventhM <127357473+SeventhM@users.noreply.github.com> Date: Sun, 7 Jan 2024 06:07:04 -0800 Subject: [PATCH] Fix Great General counter not decreasing upon spawning a general (#10882) * Fix Great General counter not decreasing upon spawning a general * Actually, screw it, might as well trmove this whole section --- core/src/com/unciv/logic/BackwardCompatibility.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/src/com/unciv/logic/BackwardCompatibility.kt b/core/src/com/unciv/logic/BackwardCompatibility.kt index 1b03bdfd9f..a359d170df 100644 --- a/core/src/com/unciv/logic/BackwardCompatibility.kt +++ b/core/src/com/unciv/logic/BackwardCompatibility.kt @@ -42,11 +42,6 @@ object BackwardCompatibility { if (pointsForNextGreatGeneral >= pointsForNextGreatGeneralCounter["Great General"]) { pointsForNextGreatGeneralCounter["Great General"] = pointsForNextGreatGeneral } else pointsForNextGreatGeneral = pointsForNextGreatGeneralCounter["Great General"] - - - if (greatGeneralPoints >= greatGeneralPointsCounter["Great General"]) { - greatGeneralPointsCounter["Great General"] = greatGeneralPoints - } else greatGeneralPoints = greatGeneralPointsCounter["Great General"] } }