Lumberjacks sometimes want to chop the same tree
Bug #633491 reported by
Anders S. Nordbø
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I just discovered that this can happen with lumberjacks. it's probably not a general issue, as trees are special in that they disappear after being harvested. Probably stones can also disappear after a while and it applies here too, albeit less likely.
Idea: Probably what's needed here is some kind of flag on saying the tree is "taken". So in the code that allocates resource for harvesting needs to filter out those that are taken.
To post a comment you must log in.
Oh, and the result from the resource not being there appears to be that the slower worker returns empty handed.