Skip to content

Commit

Permalink
Fix video settings crash
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Aug 25, 2022
1 parent a88cba2 commit b451b2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static OptionPage general() {
.add(OptionImpl.createBuilder(int.class, vanillaOpts)
.setName(Text.translatable("options.framerateLimit"))
.setTooltip(Text.translatable("sodium.options.fps_limit.tooltip"))
.setControl(option -> new SliderControl(option, 5, 260, 10, ControlValueFormatter.fpsLimit()))
.setControl(option -> new SliderControl(option, 10, 260, 10, ControlValueFormatter.fpsLimit()))
.setBinding((opts, value) -> {
opts.getMaxFps().setValue(value);
MinecraftClient.getInstance().getWindow().setFramerateLimit(value);
Expand Down

0 comments on commit b451b2f

Please sign in to comment.