Ludeon Forums

Ludeon Forums

  • January 27, 2020, 11:13:22 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: ThingFilter does not update ListerHaulables immediately for % hp and Quality  (Read 188 times)

LWM

  • Colonist
  • ***
  • Posts: 574
  • Little White Mouse
    • View Profile

"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.
« Last Edit: December 31, 2019, 01:40:23 PM by LWM »
Logged

ison

  • Developer
  • Planetologist
  • *****
  • Posts: 2174
    • View Profile
Logged