Check `state` property instead of `running`
This fixes the issue with haptics where in only works the first time it plays.
For some reason the property running
is always true
after playing it once.
This fixes the issue with haptics where in only works the first time it plays.
For some reason the property running
is always true
after playing it once.