v0.2: iteminventory sync bugfix, meleeweapon "reload time", spears can be picked even if they're stuck inside a wall, tutorial bugfixes, "submarine godmode", removed round duration, drag character sync, reliable structure damage messages, job assignment bugfixes, some extra sounds
This commit is contained in:
@@ -161,6 +161,22 @@ namespace Barotrauma
|
||||
startDrone = null;
|
||||
}
|
||||
|
||||
if (Submarine.Loaded==null)
|
||||
{
|
||||
|
||||
|
||||
if (waterAmbienceIndexes[0] > 0)
|
||||
{
|
||||
SoundManager.Stop(waterAmbienceIndexes[0]);
|
||||
SoundManager.Stop(waterAmbienceIndexes[1]);
|
||||
|
||||
waterAmbienceIndexes[0] = 0;
|
||||
waterAmbienceIndexes[1] = 0;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
float ambienceVolume = 0.8f;
|
||||
float lowpassHFGain = 1.0f;
|
||||
if (Character.Controlled != null)
|
||||
|
||||
@@ -529,7 +529,14 @@ namespace Barotrauma.Sounds
|
||||
|
||||
for (int i = 0; i < tempBuffers.Length; i++)
|
||||
{
|
||||
finished |= FillBuffer(stream, tempBuffers[i]);
|
||||
try
|
||||
{
|
||||
finished |= FillBuffer(stream, tempBuffers[i]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (finished)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user