PA fixes.

Improved unlit layers for control box.

Fixed rotation bugs.

Fixes #3479
This commit is contained in:
Pieter-Jan Briers
2021-03-04 12:17:29 +01:00
parent 86ba8fa96a
commit 4a584b778b
10 changed files with 14 additions and 4 deletions

View File

@@ -454,7 +454,7 @@ namespace Content.Server.GameObjects.Components.PA
Vector2i RotateOffset(in Vector2i vec)
{
var rot = new Angle(Owner.Transform.LocalRotation + Math.PI / 2);
var rot = new Angle(Owner.Transform.LocalRotation);
return (Vector2i) rot.RotateVec(vec);
}
}