From 45080744b7ae5b5af4178658499bad9c3b17e7d2 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Thu, 13 Jun 2019 13:23:54 +0300 Subject: [PATCH] Years of peace modifier no longer rises while at war (whoops!) --- .../com/unciv/logic/civilization/diplomacy/DiplomacyManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/civilization/diplomacy/DiplomacyManager.kt b/core/src/com/unciv/logic/civilization/diplomacy/DiplomacyManager.kt index 92774792..5c64687f 100644 --- a/core/src/com/unciv/logic/civilization/diplomacy/DiplomacyManager.kt +++ b/core/src/com/unciv/logic/civilization/diplomacy/DiplomacyManager.kt @@ -233,7 +233,7 @@ class DiplomacyManager() { if(getModifier(DiplomaticModifiers.YearsOfPeace)< 30) addModifier(DiplomaticModifiers.YearsOfPeace, 0.5f) } - else revertToZero(DiplomaticModifiers.YearsOfPeace,-0.5f) // war makes you forget the good ol' days + else revertToZero(DiplomaticModifiers.YearsOfPeace,0.5f) // war makes you forget the good ol' days var openBorders = 0 if(hasOpenBorders) openBorders+=1