Fix bug where building in your ranch builds in all ranches

This commit is contained in:
SilicaAndPina 2021-02-12 14:47:29 +13:00
parent 8c43129303
commit 06b810cef3
6 changed files with 81 additions and 25 deletions

View file

@ -724,7 +724,7 @@ namespace HISP.Game
return message;
}
public static string BuildHorseList(User user)
public static string BuildWildHorseList(User user)
{
string message = "";
WildHorse[] horses = WildHorse.GetHorsesAt(user.X, user.Y);
@ -940,7 +940,7 @@ namespace HISP.Game
return message;
}
public static string BuildHorseList()
public static string BuildHorseBreedListLibary()
{
string message = "";
foreach (HorseInfo.Breed breed in HorseInfo.Breeds.OrderBy(o => o.Name).ToList())
@ -1921,7 +1921,7 @@ namespace HISP.Game
{
string message = "";
message += buildLocationString(x, y);
message += BuildHorseList(user);
message += BuildWildHorseList(user);
message += buildNpc(user, x, y);