From 846321cebbb9c4c1d83e03a0bbc8ed1c4c5bf91d Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Sun, 12 Jun 2022 13:38:40 +1200 Subject: [PATCH] Remove uses of PrototypeLayerData.New() (#8676) --- Content.Client/Clothing/ClothingSystem.cs | 2 +- Content.Client/Items/Systems/ItemSystem.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Client/Clothing/ClothingSystem.cs b/Content.Client/Clothing/ClothingSystem.cs index fa5d18df3d..95171f094c 100644 --- a/Content.Client/Clothing/ClothingSystem.cs +++ b/Content.Client/Clothing/ClothingSystem.cs @@ -131,7 +131,7 @@ public sealed class ClothingSystem : EntitySystem return false; } - var layer = PrototypeLayerData.New(); + var layer = new PrototypeLayerData(); layer.RsiPath = rsi.Path.ToString(); layer.State = state; layers = new() { layer }; diff --git a/Content.Client/Items/Systems/ItemSystem.cs b/Content.Client/Items/Systems/ItemSystem.cs index d6d127c8b4..96c6c4ba0f 100644 --- a/Content.Client/Items/Systems/ItemSystem.cs +++ b/Content.Client/Items/Systems/ItemSystem.cs @@ -92,7 +92,7 @@ public sealed class ItemSystem : SharedItemSystem if (!rsi.TryGetState(state, out var _)) return false; - var layer = PrototypeLayerData.New(); + var layer = new PrototypeLayerData(); layer.RsiPath = rsi.Path.ToString(); layer.State = state; layer.MapKeys = new() { state };