Subscribe TransformComponent events by-ref (#4478)
This commit is contained in:
committed by
GitHub
parent
bbbebbadf7
commit
ad5f7bb71b
@@ -58,7 +58,7 @@ namespace Content.Server.Shuttles
|
||||
/// <summary>
|
||||
/// If pilot is moved then we'll stop them from piloting.
|
||||
/// </summary>
|
||||
private void HandlePilotMove(EntityUid uid, PilotComponent component, MoveEvent args)
|
||||
private void HandlePilotMove(EntityUid uid, PilotComponent component, ref MoveEvent args)
|
||||
{
|
||||
if (component.Console == null) return;
|
||||
RemovePilot(component);
|
||||
|
||||
Reference in New Issue
Block a user