mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 22:24:33 +00:00
fill in asset based sound group if not specified by instanced emitter
This commit is contained in:
parent
b105fce2f2
commit
557b3639eb
2 changed files with 5 additions and 0 deletions
|
|
@ -184,6 +184,8 @@ void GuiAudioCtrl::_update()
|
|||
mSoundPlaying->setFadeTimes(mFadeInTime, mFadeOutTime);
|
||||
|
||||
}
|
||||
else
|
||||
getSoundDescription()->mSourceGroup->addObject(mSoundPlaying);
|
||||
|
||||
mSoundPlaying->play();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue