Remove 700 usages of Component.Owner (#21100)
This commit is contained in:
@@ -39,7 +39,7 @@ public sealed class AmbientSoundOverlay : Overlay
|
||||
|
||||
if (ambientSound.Enabled)
|
||||
{
|
||||
if (_ambient.IsActive(ambientSound))
|
||||
if (_ambient.IsActive((ent, ambientSound)))
|
||||
{
|
||||
worldHandle.DrawCircle(xformSystem.GetWorldPosition(xform), Size, Color.LightGreen.WithAlpha(Alpha * 2f));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user