File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1+ using System . Globalization ;
12using SwiftlyS2 . Core . Natives ;
23using SwiftlyS2 . Shared . Menus ;
34using SwiftlyS2 . Shared . Players ;
@@ -27,11 +28,11 @@ public MenuManager()
2728 ButtonsScroll = parts [ 3 ] ,
2829 ButtonsExit = parts [ 4 ] ,
2930 SoundUseName = parts [ 5 ] ,
30- SoundUseVolume = float . Parse ( parts [ 6 ] ) ,
31+ SoundUseVolume = float . Parse ( parts [ 6 ] , CultureInfo . InvariantCulture ) ,
3132 SoundScrollName = parts [ 7 ] ,
32- SoundScrollVolume = float . Parse ( parts [ 8 ] ) ,
33+ SoundScrollVolume = float . Parse ( parts [ 8 ] , CultureInfo . InvariantCulture ) ,
3334 SoundExitName = parts [ 9 ] ,
34- SoundExitVolume = float . Parse ( parts [ 10 ] ) ,
35+ SoundExitVolume = float . Parse ( parts [ 10 ] , CultureInfo . InvariantCulture ) ,
3536 ItemsPerPage = int . Parse ( parts [ 11 ] ) ,
3637 } ;
3738 }
You can’t perform that action at this time.
0 commit comments