Skip to content

Commit 0278cf9

Browse files
missing change from last push
1 parent ca745cd commit 0278cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/HoloToolkit/SpatialSound/Scripts/UAudioManager/UAudioManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private void PlayEvent(string eventName, GameObject emitter, AudioSource primary
120120
// If the instance limit has been reached...
121121
if (currentEvent.InstanceLimit != 0 && GetInstances(eventName) >= currentEvent.InstanceLimit)
122122
{
123-
if (currentEvent.AudioEventInstance == AudioEventInstanceBehavior.KillNewest)
123+
if (currentEvent.AudioEventInstanceBehavior == AudioEventInstanceBehavior.KillNewest)
124124
{
125125
// Do not play the event.
126126
Debug.LogFormat(this, "Instance limit reached, not playing event \"{0}\"", eventName);

0 commit comments

Comments
 (0)