Remove obsolete VisibilitySystem functions (#28610)
Remove obsolete visibility functions Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
@@ -174,7 +174,7 @@ namespace Content.Server.Pointing.EntitySystems
|
||||
{
|
||||
var arrowVisibility = EntityManager.EnsureComponent<VisibilityComponent>(arrow);
|
||||
layer = playerVisibility.Layer;
|
||||
_visibilitySystem.SetLayer(arrow, arrowVisibility, layer);
|
||||
_visibilitySystem.SetLayer((arrow, arrowVisibility), (ushort) layer);
|
||||
}
|
||||
|
||||
// Get players that are in range and whose visibility layer matches the arrow's.
|
||||
|
||||
Reference in New Issue
Block a user