mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-24 10:01:39 +07:00
Fix Invest quest stays forever (#11475)
This commit is contained in:
parent
8ef90cbaf1
commit
eb0367184a
@ -272,8 +272,7 @@ class QuestManager : IsPartOfGameInfoSerialization {
|
||||
winnersAndLosers.winners.forEach { giveReward(it) }
|
||||
winnersAndLosers.losers.forEach { notifyExpired(it, winnersAndLosers.winners) }
|
||||
|
||||
assignedQuests.removeAll(winnersAndLosers.winners)
|
||||
assignedQuests.removeAll(winnersAndLosers.losers)
|
||||
assignedQuests.removeAll { it.questNameInstance == questName } // removing winners then losers would leave those with score 0
|
||||
}
|
||||
|
||||
private fun handleIndividualQuests() {
|
||||
|
Loading…
Reference in New Issue
Block a user