Fix smoothing error (#6352)

This commit is contained in:
Leon Friedrich
2022-01-29 07:25:49 +13:00
committed by GitHub
parent b75f005bb4
commit 79243d1379
3 changed files with 68 additions and 85 deletions

View File

@@ -9,7 +9,7 @@ namespace Content.Client.Wall.Components
{
[RegisterComponent]
[ComponentReference(typeof(IconSmoothComponent))]
public class ReinforcedWallComponent : IconSmoothComponent
public class ReinforcedWallComponent : IconSmoothComponent // whyyyyyyyyy
{
public override string Name => "ReinforcedWall";
@@ -36,7 +36,7 @@ namespace Content.Client.Wall.Components
}
}
internal override void CalculateNewSprite(IMapGrid grid)
internal override void CalculateNewSprite(IMapGrid? grid)
{
base.CalculateNewSprite(grid);