Differentiate worker location for input and working workers in productionsites
Bug #1800080 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
At the moment, Building:
This code will most likely fail if a building has the same worker type as an "input" worker and as a "worker" worker. In that case, the input workers will probably be deleted as well.
Unfortunately the PlayerImmovable given as a function parameter does not offer a way to differentiate between the two kinds of workers. To fix this, one would probably create a copy of this function specifically for production sites.
To post a comment you must log in.
Migrated to https:/ /github. com/widelands/ widelands/ issues/ 1084