View Issue Details

IDProjectCategoryLast Update
0017712Stars Beyond ReachBug - GameplayOct 7, 2015 1:12 pm
Reporterptarth Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.918 (Warn Me, Please!) 
Fixed in Version0.919 
Summary0017712: Worker employment not updating correctly when disabling buildings
DescriptionWhen a building is disabled a portion of its workers are sent elsewhere to work, however, the workers still remain at the original location. At least they kinda do, these phantom workers only sometimes count as workers to work elsewhere, but they still do their jobs.

See attached save where I have more workers than citizens. I've attached a pre-glitch save where you can drop a few commercial buildings and a post glitch save where you see the phantom workers in operation.

To activate, disable and enable buildings. Large employment buildings make it easier to see.
TagsNo tags attached.

Activities

ptarth

Oct 6, 2015 2:08 am

reporter  

918 workers free.save (162,705 bytes)

ptarth

Oct 6, 2015 2:09 am

reporter  

keith.lamothe

Oct 7, 2015 1:12 pm

administrator   ~0043496

For 0.919:

* Added logic for dealing with situations where a staffing-reallocation is called for and there's actually not enough population to handle all the _current_ staffing (which shouldn't be possible, but our population model's a bit eclectic after all the different designs). Previously it just ostrich-algorithm'd it and left everything alone, now it will do a complete flush of current staffing and start allocating from scratch, to make sure the result is at least within the total population bound.
** This won't immediately impact old saves, but as soon as you have an interturn or turn a building on or off it will take effect.

Thanks :)

Issue History

Date Modified Username Field Change
Oct 6, 2015 2:08 am ptarth New Issue
Oct 6, 2015 2:08 am ptarth File Added: 918 workers free.save
Oct 6, 2015 2:09 am ptarth File Added: 918 workers free jobs.save
Oct 6, 2015 8:34 am Chris_McElligottPark Assigned To => keith.lamothe
Oct 6, 2015 8:34 am Chris_McElligottPark Status new => assigned
Oct 7, 2015 1:12 pm keith.lamothe Note Added: 0043496
Oct 7, 2015 1:12 pm keith.lamothe Status assigned => resolved
Oct 7, 2015 1:12 pm keith.lamothe Fixed in Version => 0.919
Oct 7, 2015 1:12 pm keith.lamothe Resolution open => fixed