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

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

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

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

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

* и гит растрёпанный, как блядь
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 System.Numerics;
using Content.Server.ParticleAccelerator.Components;
using Content.Shared._White;
using JetBrains.Annotations;
using Robust.Shared.Map.Components;
using Robust.Shared.Physics.Events;
@@ -14,7 +15,7 @@ public sealed partial class ParticleAcceleratorSystem
private void InitializePartSystem()
{
SubscribeLocalEvent<ParticleAcceleratorPartComponent, ComponentShutdown>(OnComponentShutdown);
SubscribeLocalEvent<ParticleAcceleratorPartComponent, MoveEvent>(OnMoveEvent);
SubscribeLocalEvent<ParticleAcceleratorPartComponent, MoveEventProxy>(OnMoveEvent);
SubscribeLocalEvent<ParticleAcceleratorPartComponent, PhysicsBodyTypeChangedEvent>(BodyTypeChanged);
}
@@ -167,7 +168,7 @@ public sealed partial class ParticleAcceleratorSystem
RescanParts(comp.Master!.Value);
}
private void OnMoveEvent(EntityUid uid, ParticleAcceleratorPartComponent comp, ref MoveEvent args)
private void OnMoveEvent(EntityUid uid, ParticleAcceleratorPartComponent comp, ref MoveEventProxy args)
{
if (EntityManager.EntityExists(comp.Master))
RescanParts(comp.Master!.Value);