Content changes for engine RotateEvent removal PR (#11448)
This commit is contained in:
@@ -51,7 +51,7 @@ namespace Content.Server.Shuttles.Systems
|
||||
SubscribeLocalEvent<ThrusterComponent, PowerChangedEvent>(OnPowerChange);
|
||||
SubscribeLocalEvent<ThrusterComponent, AnchorStateChangedEvent>(OnAnchorChange);
|
||||
SubscribeLocalEvent<ThrusterComponent, ReAnchorEvent>(OnThrusterReAnchor);
|
||||
SubscribeLocalEvent<ThrusterComponent, RotateEvent>(OnRotate);
|
||||
SubscribeLocalEvent<ThrusterComponent, MoveEvent>(OnRotate);
|
||||
SubscribeLocalEvent<ThrusterComponent, IsHotEvent>(OnIsHotEvent);
|
||||
SubscribeLocalEvent<ThrusterComponent, StartCollideEvent>(OnStartCollide);
|
||||
SubscribeLocalEvent<ThrusterComponent, EndCollideEvent>(OnEndCollide);
|
||||
@@ -143,7 +143,7 @@ namespace Content.Server.Shuttles.Systems
|
||||
/// <summary>
|
||||
/// If the thruster rotates change the direction where the linear thrust is applied
|
||||
/// </summary>
|
||||
private void OnRotate(EntityUid uid, ThrusterComponent component, ref RotateEvent args)
|
||||
private void OnRotate(EntityUid uid, ThrusterComponent component, ref MoveEvent args)
|
||||
{
|
||||
// TODO: Disable visualizer for old direction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user