mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
Inline UID
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Content.Server.ParticleAccelerator.EntitySystems
|
||||
|
||||
private static void RotateEvent(ref RotateEvent ev)
|
||||
{
|
||||
if (IoCManager.Resolve<IEntityManager>().TryGetComponent(ev.Sender.Uid, out ParticleAcceleratorPartComponent? part))
|
||||
if (IoCManager.Resolve<IEntityManager>().TryGetComponent(ev.Sender, out ParticleAcceleratorPartComponent? part))
|
||||
{
|
||||
part.Rotated();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user