Fixed CMSG_CLOSE_INTERACTION

This commit is contained in:
hondacrx
2017-09-06 18:47:35 -04:00
parent adbde2e6c2
commit 2673fe277e
+3 -2
View File
@@ -432,9 +432,10 @@ namespace Game
_player.Prestige(); _player.Prestige();
} }
[WorldPacketHandler(ClientOpcodes.CloseInteraction, Processing = PacketProcessing.ThreadSafe)] [WorldPacketHandler(ClientOpcodes.CloseInteraction)]
void HandleCloseInteraction(CloseInteraction packet) void HandleCloseInteraction(CloseInteraction closeInteraction)
{ {
if (_player.PlayerTalkClass.GetInteractionData().SourceGuid == closeInteraction.SourceGuid)
_player.PlayerTalkClass.GetInteractionData().Reset(); _player.PlayerTalkClass.GetInteractionData().Reset();
} }