Всякие вещи (#442)

* - fix: No grabbing supermatter.

* - remove: No screen shake.

* - tweak: Revert tweaks.

* - fix: Telescope.
This commit is contained in:
Aviu00
2024-07-15 16:23:15 +00:00
committed by GitHub
parent b67a36cde6
commit c7341543f8
7 changed files with 19 additions and 14 deletions

View File

@@ -2,6 +2,7 @@
using Content.Server.Interaction;
using Content.Server.Mech.Equipment.Components;
using Content.Server.Mech.Systems;
using Content.Shared._White.Supermatter.Components;
using Content.Shared.DoAfter;
using Content.Shared.Interaction;
using Content.Shared.Mech;
@@ -133,7 +134,8 @@ public sealed class MechGrabberSystem : EntitySystem
if (TryComp<PhysicsComponent>(target, out var physics) && physics.BodyType == BodyType.Static ||
HasComp<WallMountComponent>(target) ||
HasComp<MobStateComponent>(target))
HasComp<MobStateComponent>(target) ||
HasComp<SupermatterComponent>(target)) // WD EDIT
{
return;
}