push becaz im tired (probably crashes...)

This commit is contained in:
SilicaAndPina 2021-02-20 01:33:00 +13:00
parent 905dc1a6ce
commit cc22dbcf0b
10 changed files with 395 additions and 5 deletions

View file

@ -13,7 +13,14 @@ namespace HISP.Game.Inventory
{
get
{
return horsesList.ToArray();
List<HorseInstance> filteredHorseList = new List<HorseInstance>();
foreach(HorseInstance horse in horsesList)
{
if (!horse.Hidden)
filteredHorseList.Add(horse);
}
return filteredHorseList.ToArray();
}
}