mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-18 12:43:44 -04:00
allow subclasses to override disable-failed logging
This commit is contained in:
parent
58484fd621
commit
24cfaaea3f
@ -430,10 +430,13 @@ class ClientRepository(ConnectionRepository):
|
||||
else:
|
||||
distObj.deleteOrDelay()
|
||||
else:
|
||||
ClientRepository.notify.warning(
|
||||
"Disable failed. DistObj "
|
||||
+ str(doId) +
|
||||
" is not in dictionary, ownerView=%s" % ownerView)
|
||||
self._logFailedDisable(doId, ownerView)
|
||||
|
||||
def _logFailedDisable(self, doId, ownerView):
|
||||
ClientRepository.notify.warning(
|
||||
"Disable failed. DistObj "
|
||||
+ str(doId) +
|
||||
" is not in dictionary, ownerView=%s" % ownerView)
|
||||
|
||||
def handleDelete(self, di):
|
||||
# overridden by ToontownClientRepository
|
||||
|
Loading…
x
Reference in New Issue
Block a user