diff --git a/Assets/mailSystem/mailSlotPrefab.cs b/Assets/mailSystem/mailSlotPrefab.cs index 7d1c2244..4813e514 100644 --- a/Assets/mailSystem/mailSlotPrefab.cs +++ b/Assets/mailSystem/mailSlotPrefab.cs @@ -100,21 +100,6 @@ public class mailSlotPrefab : MonoBehaviour return; } - if (!url.StartsWith("http://", System.StringComparison.OrdinalIgnoreCase) - && !url.StartsWith("https://", System.StringComparison.OrdinalIgnoreCase)) - { - NetworkManager network = NetworkManager.Instance; - if (network != null && !string.IsNullOrWhiteSpace(network.ServerUrl)) - { - string baseUrl = network.ServerUrl.TrimEnd('/'); - if (!url.StartsWith("/")) - { - url = "/" + url; - } - url = baseUrl + url; - } - } - if (RewardPreviewCache.TryGetValue(url, out Sprite cachedSprite) && cachedSprite != null) { icon.sprite = cachedSprite;