minecolonies
minecolonies copied to clipboard
Bug 10952
Closes #10952
Changes proposed in this pull request
- Minor change to assignment logic (defect caused by reversed logic on
- Refactoring to allow logging of root cause in valid situations where assignment should not succeed.
Testing
- [X] Yes I tested this before submitting it.
- [ ] I also did a multiplayer test.
Review please
Log messages are not super useful without context such as colony, work order, and builder ids and/or names.
Good point... added relevant information. If someone is not looking at the logs, though, it still appears to do nothing when the assign button is pressed in these situations. Should I instead make it an in-game message sent to the clicking player, so the feedback is obvious and immediate?