Sulphurous Water Meter no longer draws if you aren't in the sulphurous sea

This commit is contained in:
ben-tk committed 2022-10-24 14:31:22 -04:00
1 parent 9b4d99bb51
commit 36cecd24bc
1 file changed
+1 -1
@@ -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
{