City specialists now stay through game restarts
This commit is contained in:
parent
defeb7431b
commit
87c3d18ac7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue