Firesource sound fix
This commit is contained in:
@@ -344,8 +344,16 @@ namespace Barotrauma
|
|||||||
|
|
||||||
lightSource.Remove();
|
lightSource.Remove();
|
||||||
|
|
||||||
if (basicSoundIndex > -1) Sounds.SoundManager.Stop(basicSoundIndex);
|
if (basicSoundIndex > -1)
|
||||||
if (largeSoundIndex > -1) Sounds.SoundManager.Stop(largeSoundIndex);
|
{
|
||||||
|
Sounds.SoundManager.Stop(basicSoundIndex);
|
||||||
|
basicSoundIndex = -1;
|
||||||
|
}
|
||||||
|
if (largeSoundIndex > -1)
|
||||||
|
{
|
||||||
|
Sounds.SoundManager.Stop(largeSoundIndex);
|
||||||
|
largeSoundIndex = -1;
|
||||||
|
}
|
||||||
|
|
||||||
hull.RemoveFire(this);
|
hull.RemoveFire(this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user