mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-21 01:37:39 +07:00
Years of peace modifier no longer rises while at war (whoops!)
This commit is contained in:
parent
6618bed1ab
commit
45080744b7
@ -233,7 +233,7 @@ class DiplomacyManager() {
|
|||||||
if(getModifier(DiplomaticModifiers.YearsOfPeace)< 30)
|
if(getModifier(DiplomaticModifiers.YearsOfPeace)< 30)
|
||||||
addModifier(DiplomaticModifiers.YearsOfPeace, 0.5f)
|
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
|
var openBorders = 0
|
||||||
if(hasOpenBorders) openBorders+=1
|
if(hasOpenBorders) openBorders+=1
|
||||||
|
Loading…
Reference in New Issue
Block a user