Skip to content

Commit

Permalink
Fix enabling fog modify type
Browse files Browse the repository at this point in the history
  • Loading branch information
dima-dencep committed Nov 16, 2023
1 parent 62b7020 commit 16e7771
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ public static OptionPage render() {

groups.add(OptionGroup.createBuilder()
.add(OptionImpl.createBuilder(SodiumExtraGameOptions.RenderSettings.FogType.class, sodiumExtraOpts)
.setEnabled(SodiumExtraClientMod.mixinConfig().getOptions().get("mixin.fog").isEnabled())
.setName(Text.translatable("sodium-extra.option.fog_type"))
.setTooltip(Text.translatable("sodium-extra.option.fog_type.tooltip"))
.setControl(option -> new CyclingControl<>(option, SodiumExtraGameOptions.RenderSettings.FogType.class))
Expand Down

0 comments on commit 16e7771

Please sign in to comment.