Problem with IsDesaturated() if it returns secrets #31


Open
  • millanzarreta created this issue Feb 1, 2026

    In the library (current alpha 0.57-14-g004f030-alpha version), the UpdateUsable function calls :IsDesaturated(). However, if desaturation is set using secrets (by another addon, for example), IsDesaturated() returns a secret, which causes errors at that point.

     

    Given what it does, I think this check could probably be removed entirely.

     

     

  • millanzarreta edited description Feb 1, 2026
  • WilduTools posted a comment Feb 13, 2026

    one fix would be `if issecretvalue(self.icon:IsDesaturated()) then return end`


To post a comment, please login or register a new account.