Фиксы педальных фич (#210)
* Aghost invisibility fixes * Fix naming and bwoink volume on load
This commit is contained in:
@@ -13,6 +13,7 @@ using Content.Shared.Mind;
|
||||
using Content.Shared.Mobs.Systems;
|
||||
using Content.Shared.Pointing;
|
||||
using Content.Shared.Popups;
|
||||
using Content.Shared.White.Administration;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Server.GameObjects;
|
||||
using Robust.Server.Player;
|
||||
@@ -117,6 +118,11 @@ namespace Content.Server.Pointing.EntitySystems
|
||||
return false;
|
||||
}
|
||||
|
||||
if (TryComp(pointed, out InvisibilityComponent? invisibility) && invisibility.Invisible) // WD
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (HasComp<PointingArrowComponent>(pointed))
|
||||
{
|
||||
// this is a pointing arrow. no pointing here...
|
||||
|
||||
Reference in New Issue
Block a user