mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 14:57:58 +07:00
City specialists now stay through game restarts
This commit is contained in:
@ -14,11 +14,11 @@ class PopulationManager {
|
||||
var foodStored = 0
|
||||
|
||||
val specialists = Stats()
|
||||
//var buildingsSpecialists = HashMap<String, Stats>()
|
||||
|
||||
//region pure functions
|
||||
fun clone(): PopulationManager {
|
||||
val toReturn = PopulationManager()
|
||||
toReturn.specialists.add(specialists)
|
||||
toReturn.population=population
|
||||
toReturn.foodStored=foodStored
|
||||
return toReturn
|
||||
|
Reference in New Issue
Block a user