distributed: it is not broken anymore

This commit is contained in:
Open Toontown 2019-11-10 21:03:43 -05:00
parent 155e40564f
commit 5ab0422564

View file

@ -2026,6 +2026,10 @@ class OTPClientRepository(ClientRepositoryBase):
# the current index of DatagramIterator di: # the current index of DatagramIterator di:
di2 = DatagramIterator(di.getDatagram(), di.getCurrentIndex()) di2 = DatagramIterator(di.getDatagram(), di.getCurrentIndex())
# Get the context. This is never actually used,
# however none of this will work unless we get it.
ctx = di2.getUint32()
# Now, get the handle: # Now, get the handle:
handle = di2.getUint16() handle = di2.getUint16()
@ -2237,6 +2241,7 @@ class OTPClientRepository(ClientRepositoryBase):
break break
else: else:
self.notify.warning('Received generate from %d for %d:%d, which is not a part of any existing interests!' % (doId, parentId, zoneId))
interest = None interest = None
if not interest or not interest.events: if not interest or not interest.events: