Placeholder-Software / Dissonance

Unity Voice Chat Asset
70 stars 5 forks source link

[bug] Error on setting RemoteVoiceVolume for DissonanceComms #107

Closed blablablascore closed 6 years ago

blablablascore commented 6 years ago

Line 294 and 295 of DissonanceComms.cs:

            if (value < 0) throw new ArgumentOutOfRangeException("value", "Value must be greater than or equal to zero");
            if **(value > 0)** throw new ArgumentOutOfRangeException("value", "Value must be less than or equal to one ");

It should be "if (value > 1.0f)"

martindevans commented 6 years ago

Well spotted.

This was already reported in (#96) and the fix went out with the last version of Dissonance 6.2.3 :)