* эмалированная репа

* локалка, ветка и коммит

* Компилить тяжело и неуютно

* Зато уютно набегать

* и тихо капает ОЗУ

* и гит растрёпанный, как блядь
This commit is contained in:
RedFoxIV
2025-06-11 11:05:17 +03:00
committed by GitHub
parent af21168537
commit 7f33f5f733
33 changed files with 253 additions and 320 deletions

View File

@@ -1,6 +1,7 @@
using System.Diagnostics.CodeAnalysis;
using Content.Server.NodeContainer.NodeGroups;
using Content.Server.NodeContainer.Nodes;
using Content.Shared._White;
using Content.Shared.Examine;
using JetBrains.Annotations;
@@ -25,7 +26,7 @@ namespace Content.Server.NodeContainer.EntitySystems
SubscribeLocalEvent<NodeContainerComponent, ComponentShutdown>(OnShutdownEvent);
SubscribeLocalEvent<NodeContainerComponent, AnchorStateChangedEvent>(OnAnchorStateChanged);
SubscribeLocalEvent<NodeContainerComponent, ReAnchorEvent>(OnReAnchor);
SubscribeLocalEvent<NodeContainerComponent, MoveEvent>(OnMoveEvent);
SubscribeLocalEvent<NodeContainerComponent, MoveEventProxy>(OnMoveEvent);
SubscribeLocalEvent<NodeContainerComponent, ExaminedEvent>(OnExamine);
_query = GetEntityQuery<NodeContainerComponent>();
@@ -174,7 +175,7 @@ namespace Content.Server.NodeContainer.EntitySystems
}
}
private void OnMoveEvent(EntityUid uid, NodeContainerComponent container, ref MoveEvent ev)
private void OnMoveEvent(EntityUid uid, NodeContainerComponent container, ref MoveEventProxy ev)
{
if (ev.NewRotation == ev.OldRotation)
{