Fix a condition in the GammaBoost button's action
This commit is contained in:
parent
2edc9158a0
commit
3171b471b0
|
@ -25,8 +25,8 @@ object Storage {
|
||||||
newBox("snowy.clickbox.misc").addButtons(
|
newBox("snowy.clickbox.misc").addButtons(
|
||||||
"GammaBoost" to {
|
"GammaBoost" to {
|
||||||
with(Minecraft.getInstance().options) {
|
with(Minecraft.getInstance().options) {
|
||||||
gamma = if (toggled && gamma != 1400.0) {
|
gamma = if (toggled) {
|
||||||
oldGamma = gamma
|
if (gamma != 1400.0) oldGamma = gamma
|
||||||
1400.0
|
1400.0
|
||||||
} else oldGamma
|
} else oldGamma
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue