перенос файлов клиента из папки White в _White

This commit is contained in:
Remuchi
2024-01-28 17:32:55 +07:00
parent c80b10a688
commit 21dbccfec9
139 changed files with 345 additions and 434 deletions

View File

@@ -1,5 +1,4 @@
using Content.Shared.White.Cult.UI;
using Robust.Client.GameObjects;
using Robust.Shared.Prototypes;
namespace Content.Client._White.Cult.UI.ListViewSelector;

View File

@@ -12,6 +12,7 @@ public partial class ListViewSelectorWindow : DefaultWindow
public Action<string, int>? ItemSelected;
private readonly IPrototypeManager _prototypeManager;
public ListViewSelectorWindow(IPrototypeManager prototypeManager)
{
RobustXamlLoader.Load(this);
@@ -29,7 +30,7 @@ public partial class ListViewSelectorWindow : DefaultWindow
if (isPrototypes)
{
if(_prototypeManager.TryIndex<EntityPrototype>(item, out var itemPrototype))
if (_prototypeManager.TryIndex<EntityPrototype>(item, out var itemPrototype))
{
itemName = itemPrototype.Name;
}