From ae8a0ab0e501363d0e88b1b83c14459ac1d86ae8 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 14 Jun 2017 11:29:08 -0700 Subject: [PATCH] kill packets already include killed node ID --- assignment-client/src/avatars/AvatarMixer.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/assignment-client/src/avatars/AvatarMixer.cpp b/assignment-client/src/avatars/AvatarMixer.cpp index 0c4b614033..cb328f025e 100644 --- a/assignment-client/src/avatars/AvatarMixer.cpp +++ b/assignment-client/src/avatars/AvatarMixer.cpp @@ -150,13 +150,6 @@ void AvatarMixer::optionallyReplicatePacket(ReceivedMessage& message, const Node if (!packet) { // construct an NLPacket to send to the replicant that has the contents of the received packet packet = NLPacket::create(replicatedType, message.getSize()); - - if (message.getType() == PacketType::KillAvatar) { - // this was not a replicated packet originally, we need to prepend the session ID - // for the killed node - packet->write(node->getUUID().toRfc4122()); - } - packet->write(message.getMessage()); }