diff --git a/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/WorldUis/SpeechBubble.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/WorldUis/SpeechBubble.cs index b97bbc31d..c46214ea6 100644 --- a/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/WorldUis/SpeechBubble.cs +++ b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/WorldUis/SpeechBubble.cs @@ -17,13 +17,19 @@ public class SpeechBubble : MonoBehaviour, ISpeechBubble private void Start() { + SetImage((Sprite)null); HidePanel(); } private void ShowPanel() => _panel.SetActive(true); private void HidePanel() => _panel.SetActive(false); public void SetImage(Sprite sprite) => _itemImage.sprite = sprite; - public void SetImage(string key) => DataManager.Instance.GetSprite(key); + + public void SetImage(string key) + { + var sprite = DataManager.Instance.GetSprite(key); + SetImage(sprite); + } public void Show(Sprite sprite) {