Years of peace modifier no longer rises while at war (whoops!)

This commit is contained in:
Yair Morgenstern 2019-06-13 13:23:54 +03:00
parent 6618bed1ab
commit 45080744b7

View file

@ -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