Sticky Interact CVar issue
Yakehira opened this issue ยท 5 comments
In my own addon Better Fishing i set CVars dynamically, but if a user decides to fish and /reload while doing so this will cause some quirk in plater as it checks for the cvar.
Easy repro
-
Go to Advanced settings in plater and make sure this is off.
-
/run SetCVar("SoftTargetInteract", 3)
-
/reload
-
Check in the wow Settings if Enable Interact Key is enabled, it will not be!
-
/reload
again -
Check again in settings, Enable Interact Key is now turned on, as well as in Plater is now sticky
-
If a user decides to turn off Enable Interact Key over the Settings rather than plater now, it will never properly work unless disabled over plater or plater being disabled.
Goddamn blizzard not honoring their own names... You are likely right about the case sensitivity. I'll likely need to migrate the whole storage to lowercase instead this case, which sucks.
The recently released changes should improve the setting to no longer be sticky.
Remains being very sticky and can only be toggled in plater settings, toggling it in the Default UI doesn't appear to work.
Root of the cause seems to be
Line 1536 in 2496475
softTargetInteract
, not SoftTargetInteract
.