ThingFilter does not update ListerHaulables immediately for % hp and Quality

Started by LWM, December 31, 2019, 01:29:37 PM

Previous topic - Next topic

LWM

"ThingFilter"s will automatically update ListerHaulables by calling settingsChangedCallback() after almost any setting in the filter has changed.  However, if allowedHitPointPercents or AllowedQualityLevels are changed via the setter functions, settingsChangedCallback() is not called.

This causes confusion when users change either of these (hit points allowed or quality allowed) and then try to force the colonists to haul the items away to a different stockpile or building_storage, because the pawns will not show any options to haul items.  ListerHaulables has not yet figured out it needs to update those cells, so no jobs are available.