Pass CollisionMask to the sound systems (#968)
This commit is contained in:
@@ -2,6 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Content.Shared.GameObjects.Components.Instruments;
|
||||
using Content.Shared.Physics;
|
||||
using JetBrains.Annotations;
|
||||
using NFluidsynth;
|
||||
using Robust.Shared.GameObjects;
|
||||
@@ -110,6 +111,7 @@ namespace Content.Client.GameObjects.Components.Instruments
|
||||
if (IsRendererAlive)
|
||||
return;
|
||||
|
||||
_midiManager.OcclusionCollisionMask = (int) CollisionGroup.Impassable;
|
||||
_renderer = _midiManager.GetNewRenderer();
|
||||
|
||||
if (_renderer != null)
|
||||
|
||||
Reference in New Issue
Block a user