Improved issue with workflow job being resumed but never being worked
Fixes #487 * This doesn't fix existing stuck jobs, in order to fix, remove repeat, cancel, add, repeat * Most workshops worked great after this, however, I noticed my bone bolts and wood bolts still got stuck, not sure if it is the same issue * The unk_v4020_1 field was not being reset to -1 when resuming the job. * Updated to be reset only when the job is being resumed ** Setting it to -1 without checking sets this field on all workflow jobs, which causes a crash * Made other calls to suspend call set_resumed rather than setting the suspend field This is the behavior I saw for the unk_v4020_1 field: Suspended jobs: -1 Jobs not in the top of the list but not suspended: -1 Jobs at the top of the list to work next, not suspended: A positive integer (priority of job?)develop
parent
1bb5239e5b
commit
772ad0372d
Loading…
Reference in New Issue