Fix map renderer error when painting decals with paths that start with /Textures (#16822)

This commit is contained in:
DrSmugleaf
2023-05-25 18:46:27 -07:00
committed by GitHub
parent 9f3f3b4998
commit ca8adf10aa
3 changed files with 12 additions and 18 deletions

View File

@@ -2,17 +2,4 @@
namespace Content.MapRenderer.Painters;
public sealed class DecalData
{
public DecalData(Decal decal, float x, float y)
{
Decal = decal;
X = x;
Y = y;
}
public Decal Decal;
public float X;
public float Y;
}
public readonly record struct DecalData(Decal Decal, float X, float Y);