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(
|
||||
"GammaBoost" to {
|
||||
with(Minecraft.getInstance().options) {
|
||||
gamma = if (toggled && gamma != 1400.0) {
|
||||
oldGamma = gamma
|
||||
gamma = if (toggled) {
|
||||
if (gamma != 1400.0) oldGamma = gamma
|
||||
1400.0
|
||||
} else oldGamma
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue