(b0f5305f2) Unstable v0.9.10.0
This commit is contained in:
@@ -76,7 +76,7 @@ namespace Barotrauma.Sounds
|
||||
protected set;
|
||||
}
|
||||
|
||||
public bool DisableMuffle { get; set; }
|
||||
public bool IgnoreMuffling { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// How many instances of the same sound clip can be playing at the same time
|
||||
|
||||
@@ -648,7 +648,7 @@ namespace Barotrauma
|
||||
{
|
||||
return null;
|
||||
}
|
||||
bool muffle = !sound.DisableMuffle && ShouldMuffleSound(Character.Controlled, position, far, hullGuess);
|
||||
bool muffle = !sound.IgnoreMuffling && ShouldMuffleSound(Character.Controlled, position, far, hullGuess);
|
||||
return sound.Play(volume ?? sound.BaseGain, far, position, muffle: muffle);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user