mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
push becaz im tired (probably crashes...)
This commit is contained in:
parent
905dc1a6ce
commit
cc22dbcf0b
10 changed files with 395 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue