Skip to content

Commit 175718e

Browse files
committed
Fixed Programmer sounds not working.
Also fixed the door script.
1 parent 454621a commit 175718e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assets/Scripts/Basic Rooms/Programmer Sounds/Flag.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void OnCollisionStay(Collision a_col)
8585
{
8686
m_particle.transform.position = transform.position - new Vector3(0.0f, 0.159426f, 0.0f);
8787
m_particle.Play();
88-
dialogue.PlayDialogue(m_sound + m_index.ToString());
88+
dialogue.PlayDialogue(m_sound + " - 0" + m_index.ToString());
8989
m_canCollide = false;
9090
m_index = (m_index + 1) % 3 + 1;
9191
}

Assets/Scripts/Overworld/TwoDoorController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ IEnumerator LoadBankThenScene()
244244
/*===============================================Fmod====================================================
245245
| Keep yielding the coroutine until the bank has loaded. |
246246
=======================================================================================================*/
247-
while (FMODUnity.RuntimeManager.HaveAllBanksLoaded)
247+
while (!FMODUnity.RuntimeManager.HaveAllBanksLoaded)
248248
{
249249
yield return true;
250250
}

0 commit comments

Comments
 (0)