Helion-Engine/Helion

Audio volume setting is incorrectly displayed when loading settings

Closed this issue · 2 comments

OS: Linux
Helion version: 45139af

If you set the audio volume to 0.35, it will initially appear correctly, but once you restart the game, it'll look like this:

Screenshot_20240108_222059

The configuration file written after the game exits appears to be fine:

[engine]
audio.musicvolume = 0.0
audio.soundvolume = 0.035

This is likely a floating-precision error when converting the value for editing (since it appears to be multiplied by 10).

72hr commented

Does this still occur in 0.9.4? It looks OK to me, but I'm on Windows.

72hr commented

I looked into this a little more, this was fixed in version 0.9.2.9.