mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-05 21:11:35 +07:00
City specialists now stay through game restarts
This commit is contained in:
parent
defeb7431b
commit
87c3d18ac7
@ -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 New Issue
Block a user