Old God Whispers

Old God Whispers

988 Downloads

Random mode lingers

JamesIves opened this issue · 0 comments

commented

Describe the bug

Please provide a clear and concise description of what the bug is.

Random mode lingers after it has been turned off.

Reproduce

Steps to reproduce the behavior.

Turn it on, let it be on for a bit, and then turn it off. Sounds will still play for a while afterwards.

Additional Comments

Add any other context about the problem here.

There needs to be a check before the actual call to PlaySounds that ensures either a click event occurred, or if random is toggled on. Right now it will execute regardless, only the new timeout won’t be triggered. This is what causes the lingering effect.