Skip to content

Commit

Permalink
Bugfix for Custom Sounds
Browse files Browse the repository at this point in the history
- Now plays sound on first profile load if no custom sounds are present.
(bugfix)
  • Loading branch information
Hotrian committed Jul 3, 2016
1 parent c189245 commit 698aa59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.IO;
Expand Down Expand Up @@ -31,6 +30,7 @@ public void OnEnable()
{
if (Dropdown.options[i].text != "gui-sound-effects-004.wav") continue;
Dropdown.value = i;
if (i == 0) _firstLoad = false;
break;
}
}
Expand Down

0 comments on commit 698aa59

Please sign in to comment.