AlanCStone
Guest
Posts: 0
|
Post by AlanCStone on Jun 13, 2014 5:27:59 GMT
First of all, great plugin!
I added my first bus to my DynamicSoundGroupCreator, but I noticed the voice limit was not being respected. It turned out the bus was being ignored because of a bad index check. Here is the fix:
public GroupBus BusForGroup {
get {
<<<---- if (busIndex <= MasterAudio.HARD_CODED_BUS_OPTIONS || !Application.isPlaying) { ---->>> if (busIndex < MasterAudio.HARD_CODED_BUS_OPTIONS || !Application.isPlaying) {
return null; // no bus, so no voice limit
}
...
|
|
|
Post by DarkTonic Dev on Jun 13, 2014 5:43:30 GMT
Thanks Alan! I'll get that fix in the next version once I confirm it's broken. What file is that?
|
|
AlanCStone
Guest
Posts: 0
|
Post by AlanCStone on Jun 13, 2014 14:49:06 GMT
The file is:
DarkTonic\MasterAudio\Scripts\Settings\MasterAudioGroup.cs
|
|
|
Post by DarkTonic Dev on Jun 13, 2014 22:39:19 GMT
Ok thanks!
|
|