Fix directional window blocking (#7270)

This commit is contained in:
Leon Friedrich
2022-04-02 16:11:16 +13:00
committed by GitHub
parent 8eee60da3a
commit 2884de06b6
3 changed files with 38 additions and 58 deletions

View File

@@ -11,11 +11,11 @@ namespace Content.Shared.Wall;
public sealed class WallMountComponent : Component
{
/// <summary>
/// Range of angles in which the exemption applies. Bigger is more permissive.
/// Range of angles for which the exemption applies. Bigger is more permissive.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("arc")]
public float Arc = MathF.PI;
public Angle Arc = new(MathF.PI);
/// <summary>
/// The direction in which the exemption arc is facing, relative to the entity's rotation. Defaults to south.