diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 414c81e..f37ffc9 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -890,11 +890,11 @@ namespace OpenSim.Region.ClientStack | |||
890 | /// <summary> | 890 | /// <summary> |
891 | /// | 891 | /// |
892 | /// </summary> | 892 | /// </summary> |
893 | public void SendTeleportFailed() | 893 | public void SendTeleportFailed(string reason) |
894 | { | 894 | { |
895 | TeleportFailedPacket tpFailed = (TeleportFailedPacket)PacketPool.Instance.GetPacket(PacketType.TeleportFailed); | 895 | TeleportFailedPacket tpFailed = (TeleportFailedPacket)PacketPool.Instance.GetPacket(PacketType.TeleportFailed); |
896 | tpFailed.Info.AgentID = AgentId; | 896 | tpFailed.Info.AgentID = AgentId; |
897 | tpFailed.Info.Reason = Helpers.StringToField("unknown failure of teleport"); | 897 | tpFailed.Info.Reason = Helpers.StringToField(reason); |
898 | OutPacket(tpFailed, ThrottleOutPacketType.Task); | 898 | OutPacket(tpFailed, ThrottleOutPacketType.Task); |
899 | } | 899 | } |
900 | 900 | ||