RotatableComponent: Fix "clockwise/counter-clockwise" verbs being swapped
"Clockwise" actually rotated it counter-clockwise and vice versa. See response to https://discord.com/channels/310555209753690112/310555209753690112/711331672485789718 for confirmation that this is correct
This commit is contained in:
@@ -49,7 +49,7 @@ namespace Content.Server.GameObjects.Components
|
|||||||
|
|
||||||
protected override void Activate(IEntity user, RotatableComponent component)
|
protected override void Activate(IEntity user, RotatableComponent component)
|
||||||
{
|
{
|
||||||
component.TryRotate(user, Angle.FromDegrees(90));
|
component.TryRotate(user, Angle.FromDegrees(-90));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ namespace Content.Server.GameObjects.Components
|
|||||||
|
|
||||||
protected override void Activate(IEntity user, RotatableComponent component)
|
protected override void Activate(IEntity user, RotatableComponent component)
|
||||||
{
|
{
|
||||||
component.TryRotate(user, Angle.FromDegrees(-90));
|
component.TryRotate(user, Angle.FromDegrees(90));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user