mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
Stab++ (#556)
* эмалированная репа * локалка, ветка и коммит * Компилить тяжело и неуютно * Зато уютно набегать * и тихо капает ОЗУ * и гит растрёпанный, как блядь
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user