Skip to content

Commit

Permalink
Revert blocking DoF change (#12391)
Browse files Browse the repository at this point in the history
  • Loading branch information
yairm210 authored Oct 31, 2024
1 parent 8cc3c50 commit caa2aca
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions core/src/com/unciv/ui/screens/worldscreen/AlertPopup.kt
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,12 @@ class AlertPopup(
val playerDiploManager = viewingCiv.getDiplomacyManager(otherciv)!!
addLeaderName(otherciv)
addGoodSizedLabel("My friend, shall we declare our friendship to the world?").row()
addButton("We are not interested.", KeyboardBinding.Cancel) {
addCloseButton("Declare Friendship ([30] turns)", KeyboardBinding.Confirm) {
playerDiploManager.signDeclarationOfFriendship()
}.row()
addCloseButton("We are not interested.", KeyboardBinding.Cancel) {
playerDiploManager.otherCivDiplomacy().setFlag(DiplomacyFlags.DeclinedDeclarationOfFriendship, 20)
}.row()
addButton("Declare Friendship ([30] turns)", KeyboardBinding.Confirm) {
playerDiploManager.signDeclarationOfFriendship()
}
}

private fun addDefeated() {
Expand All @@ -242,7 +242,6 @@ class AlertPopup(
addCloseButton("We shall do as we please.", KeyboardBinding.Cancel) {
playerDiploManager.refuseDemandNotToSettleNear()
}

}

private fun addDemandToStopSpreadingReligion() {
Expand Down

0 comments on commit caa2aca

Please sign in to comment.