From 987716f94c3ea6888bea3f7e98a4d23b6b3c835b Mon Sep 17 00:00:00 2001 From: John Cote Date: Wed, 1 Jan 2020 17:59:40 -0500 Subject: [PATCH] login: actually fix it yeahhh --- otp/login/AstronLoginManagerUD.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otp/login/AstronLoginManagerUD.py b/otp/login/AstronLoginManagerUD.py index 6b771d4..a5b7d1a 100644 --- a/otp/login/AstronLoginManagerUD.py +++ b/otp/login/AstronLoginManagerUD.py @@ -607,8 +607,8 @@ class LoadAvatarOperation(AvatarOperation): cleanupDatagram.addUint32(self.avId) datagram = PyDatagram() datagram.addServerHeader(channel, self.loginManager.air.ourChannel, CLIENTAGENT_ADD_POST_REMOVE) - datagram.addUint16(datagram.getLength()) - datagram.appendData(datagram.getMessage()) + datagram.addUint16(cleanupDatagram.getLength()) + datagram.appendData(cleanupDatagram.getMessage()) self.loginManager.air.send(datagram) self.loginManager.air.sendActivate(self.avId, 0, 0, self.loginManager.air.dclassesByName['DistributedToonUD'])