mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -04:00
fix for logout while on ship
This commit is contained in:
parent
4af853d9e8
commit
3aa590e20e
@ -89,6 +89,11 @@ class DistributedCartesianGrid(DistributedNode, CartesianGridBase):
|
||||
removeEvent = None
|
||||
self.cr.removeInterest(self.gridVisContext, removeEvent)
|
||||
self.gridVisContext = None
|
||||
else:
|
||||
# if we were given an event but we have not interest open,
|
||||
# just send the event right away
|
||||
if event is not None:
|
||||
messenger.send(event)
|
||||
self.visAvatar = None
|
||||
self.visZone = None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user