Crayon fix (#4848)

* removed line that broke crayon decals

* Removed rotation from crayon decals.
This commit is contained in:
JasperJRoth
2021-10-13 02:56:35 -04:00
committed by GitHub
parent 07303e7a4b
commit cd91e6c06b
3 changed files with 1 additions and 8 deletions

View File

@@ -23,11 +23,6 @@ namespace Content.Client.Crayon
{
sprite.LayerSetColor(0, Color.FromName(color));
}
if (component.TryGetData(CrayonVisuals.Rotation, out Angle rotation))
{
sprite.Rotation = rotation;
}
}
}
}

View File

@@ -133,7 +133,6 @@ namespace Content.Server.Crayon
{
appearance.SetData(CrayonVisuals.State, SelectedState);
appearance.SetData(CrayonVisuals.Color, _color);
appearance.SetData(CrayonVisuals.Rotation, eventArgs.User.Transform.LocalRotation);
}
if (_useSound != null)

View File

@@ -41,8 +41,7 @@ namespace Content.Shared.Crayon
public enum CrayonVisuals
{
State,
Color,
Rotation
Color
}
[Serializable, NetSerializable]