mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 05:05:53 +12:00
Fixs the transports
This commit is contained in:
parent
91fd5820ab
commit
fd64122225
4 changed files with 5 additions and 11 deletions
|
@ -62,14 +62,7 @@ namespace HISP.Game
|
|||
{
|
||||
int randomId = item.instance.RandomId;
|
||||
Database.RemoveDroppedItem(randomId);
|
||||
for (int i = 0; i < droppedItemsList.Count; i++)
|
||||
{
|
||||
if(droppedItemsList[i].instance.RandomId == randomId)
|
||||
{
|
||||
droppedItemsList.RemoveAt(i);
|
||||
return;
|
||||
}
|
||||
}
|
||||
droppedItemsList.Remove(item);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -322,9 +322,10 @@ namespace HISP.Game
|
|||
int transportLocationId = transportPoint.Locations[i];
|
||||
Transport.TransportLocation transportLocation = Transport.GetTransportLocation(transportLocationId);
|
||||
message += Messages.FormatTransportMessage(transportLocation.Type, transportLocation.LocationTitle, transportLocation.Cost, transportLocation.Id, transportLocation.GotoX, transportLocation.GotoY);
|
||||
if(i + 1 != transportPoint.Locations.Length)
|
||||
message += "^R1";
|
||||
}
|
||||
message += "^R1";
|
||||
message += Messages.ExitThisPlace;
|
||||
message += Messages.MetaTerminator;
|
||||
return message;
|
||||
}
|
||||
public static string BuildStatsMenu(User user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue