From 36cecd24bce5f6a462e80f2ff2df0955c555e928 Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Mon, 24 Oct 2022 14:31:22 -0400 Subject: [PATCH] Sulphurous Water Meter no longer draws if you aren't in the sulphurous sea --- UI/SulphurousWaterMeter/SulphurousWaterMeterUI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/SulphurousWaterMeter/SulphurousWaterMeterUI.cs b/UI/SulphurousWaterMeter/SulphurousWaterMeterUI.cs index 29c9d91e4d..d86ea1833f 100644 --- a/UI/SulphurousWaterMeter/SulphurousWaterMeterUI.cs +++ b/UI/SulphurousWaterMeter/SulphurousWaterMeterUI.cs @@ -53,7 +53,7 @@ namespace CalamityMod.UI.SulphurousWaterMeter CalamityPlayer modPlayer = player.Calamity(); // If not drawing the water meter, save its latest position to config and leave. - if (modPlayer.SulphWaterUIOpacity > 0f) + if (modPlayer.SulphWaterUIOpacity > 0f && modPlayer.ZoneSulphur) DrawWaterBar(spriteBatch, modPlayer, screenPos); else {