mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Fix bug where building in your ranch builds in all ranches
This commit is contained in:
parent
8c43129303
commit
06b810cef3
6 changed files with 81 additions and 25 deletions
|
@ -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);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue