mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-17 03:09:27 +07:00
DoF popup requires choosing an option
This commit is contained in:
@ -214,10 +214,10 @@ class AlertPopup(
|
||||
val playerDiploManager = viewingCiv.getDiplomacyManager(otherciv)!!
|
||||
addLeaderName(otherciv)
|
||||
addGoodSizedLabel("My friend, shall we declare our friendship to the world?").row()
|
||||
addCloseButton("We are not interested.", KeyboardBinding.Cancel) {
|
||||
addButton("We are not interested.", KeyboardBinding.Cancel) {
|
||||
playerDiploManager.otherCivDiplomacy().setFlag(DiplomacyFlags.DeclinedDeclarationOfFriendship, 20)
|
||||
}.row()
|
||||
addCloseButton("Declare Friendship ([30] turns)", KeyboardBinding.Confirm) {
|
||||
addButton("Declare Friendship ([30] turns)", KeyboardBinding.Confirm) {
|
||||
playerDiploManager.signDeclarationOfFriendship()
|
||||
}
|
||||
}
|
||||
@ -242,6 +242,7 @@ class AlertPopup(
|
||||
addCloseButton("We shall do as we please.", KeyboardBinding.Cancel) {
|
||||
playerDiploManager.refuseDemandNotToSettleNear()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private fun addDemandToStopSpreadingReligion() {
|
||||
|
Reference in New Issue
Block a user