Merge pull request #3855 from AFFalcons/patch-1
[QOL] Ability to Disable Weather Effects
This commit is contained in:
@@ -314,7 +314,7 @@ public class Weather extends UnlockableContent{
|
||||
|
||||
@Override
|
||||
public void draw(){
|
||||
if(renderer.weatherAlpha() > 0.0001f){
|
||||
if(renderer.weatherAlpha() > 0.0001f && Core.settings.getBool("showweather")){
|
||||
Draw.draw(Layer.weather, () -> {
|
||||
weather.rand.setSeed(0);
|
||||
Draw.alpha(renderer.weatherAlpha() * opacity * weather.opacityMultiplier);
|
||||
|
||||
@@ -404,6 +404,7 @@ public class SettingsMenuDialog extends SettingsDialog{
|
||||
graphics.checkPref("fps", false);
|
||||
graphics.checkPref("playerindicators", true);
|
||||
graphics.checkPref("indicators", true);
|
||||
graphics.checkPref("showweather", true);
|
||||
graphics.checkPref("animatedwater", true);
|
||||
if(Shaders.shield != null){
|
||||
graphics.checkPref("animatedshields", !mobile);
|
||||
|
||||
Reference in New Issue
Block a user