mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-21 21:30:20 +07:00
Update city stats when finishing city-state quests - #4963
This commit is contained in:
@ -345,8 +345,14 @@ class QuestManager {
|
||||
|
||||
civInfo.getDiplomacyManager(assignedQuest.assignee).influence += rewardInfluence
|
||||
if (rewardInfluence > 0)
|
||||
assignee.addNotification("[${civInfo.civName}] rewarded you with [${rewardInfluence.toInt()}] influence for completing the [${assignedQuest.questName}] quest.",
|
||||
civInfo.getCapital().location, civInfo.civName, "OtherIcons/Quest")
|
||||
assignee.addNotification(
|
||||
"[${civInfo.civName}] rewarded you with [${rewardInfluence.toInt()}] influence for completing the [${assignedQuest.questName}] quest.",
|
||||
civInfo.getCapital().location, civInfo.civName, "OtherIcons/Quest"
|
||||
)
|
||||
|
||||
// We may have received bonuses from city-state friend-ness or ally-ness
|
||||
for (city in civInfo.cities)
|
||||
city.cityStats.update()
|
||||
}
|
||||
|
||||
/** Returns the score for the [assignedQuest] */
|
||||
|
Reference in New Issue
Block a user