From aa1b139542d1da3781646048fd920e0ddffa0356 Mon Sep 17 00:00:00 2001 From: Stephen Thiebaud Date: Wed, 7 Jan 2026 17:02:12 -0600 Subject: [PATCH] fix: don't draw texture that doesn't exist bruh use tml-build --- UI/ModeIndicator/ModeIndicatorUI.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/ModeIndicator/ModeIndicatorUI.cs b/UI/ModeIndicator/ModeIndicatorUI.cs index 139848fb68..9dacbef733 100644 --- a/UI/ModeIndicator/ModeIndicatorUI.cs +++ b/UI/ModeIndicator/ModeIndicatorUI.cs @@ -139,9 +139,10 @@ namespace CalamityMod.UI.ModeIndicator spriteBatch.End(); spriteBatch.Begin(SpriteSortMode.Deferred, null, null, null, null, null, Main.UIScaleMatrix); - + /* Texture2D outlineTexture = ModContent.Request("CalamityMod/UI/ModeIndicator/ModeIndicatorOutline").Value; spriteBatch.Draw(outlineTexture, DrawCenter, null, Color.White * opacity, 0f, outlineTexture.Size() * 0.5f, MainIconScale, SpriteEffects.None, 0f); + */ } string extraDescText = string.Empty;