mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-10 07:48:31 +07:00
Fixes for minor bugs from the previous version
This commit is contained in:
@ -75,6 +75,8 @@ class QuestManager {
|
||||
return
|
||||
}
|
||||
|
||||
if (civInfo.cities.none()) return // don't assign quests until we have a city
|
||||
|
||||
seedGlobalQuestCountdown()
|
||||
seedIndividualQuestsCountdown()
|
||||
|
||||
|
@ -14,6 +14,8 @@ class SpecialistAllocationTable(val cityScreen: CityScreen): Table(CameraStageBa
|
||||
clear()
|
||||
|
||||
for ((specialistName, amount) in cityInfo.population.getMaxSpecialists()) {
|
||||
if (!cityInfo.getRuleset().specialists.containsKey(specialistName)) // specialist doesn't exist in this ruleset, probably a mod
|
||||
continue
|
||||
val newSpecialists = cityInfo.population.getNewSpecialists()
|
||||
val assignedSpecialists = newSpecialists[specialistName]!!
|
||||
val maxSpecialists = cityInfo.population.getMaxSpecialists()[specialistName]!!
|
||||
|
Reference in New Issue
Block a user