chchchchchaaaaangeeesssss

This commit is contained in:
WillJeynes
2026-08-30 09:39:21 +01:00
parent d36c0863a6
commit f673f53e60
23 changed files with 642 additions and 84 deletions
+6 -1
View File
@@ -97,13 +97,18 @@ public class SpeechManager : Singleton<SpeechManager>
var item = textBuffer.Dequeue();
speaker = item.Value;
if (LevelLoader.Instance.GlobalModifier == "HORSE" && speaker == "GUARD")
if (LevelLoader.Instance.GlobalModifier == "HORSE" && speaker == "HORSE")
{
Debug.LogError("HORSE");
mainText.text = item.Key;
playerPanel.SetActive(false);
otherPanel.SetActive(false);
AudioManager.Instance.PlaySound("Horse");
playerPanel.SetActive(false);
otherPanel.SetActive(true);
otherPanel.transform.GetChild(0).gameObject.SetActive(false);
otherPanel.transform.GetChild(1).gameObject.SetActive(true);
otherPanel.transform.GetChild(2).gameObject.SetActive(false);
return;
}