mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-13 03:22:20 +07:00
Fixes for minor bugs from the previous version
This commit is contained in:
parent
0e327012a7
commit
93bf69f3d5
@ -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]!!
|
||||
|
Loading…
Reference in New Issue
Block a user