This commit is contained in:
Oscar
2025-06-28 22:39:08 +03:00
parent 7223dd3b61
commit 037ef1b6a3
2 changed files with 80 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ partial class Dedugan
{
[Property] public List<string> WorkshopItems { get; set; }
[Property] public ClothingContainer CurrentClothing { get; set; }
private ClothingContainer initialClothing;
public static IReadOnlyList<Dedugan> All => InternalPlayers;
public static List<Dedugan> InternalPlayers = new List<Dedugan>();
public List<ClothingContainer.ClothingEntry> Clothings { get; set; }
@@ -76,6 +77,7 @@ partial class Dedugan
CurrentClothing.Clothing.RemoveAll( entry => !allowedCategories.Contains( entry.Clothing.Category ) );
CurrentClothing.Apply( Renderer );
initialClothing = CurrentClothing;
}
CancellationTokenSource _cts;