mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 19:52:37 -06:00
If only we had a Panda3D repo..
This commit is contained in:
parent
5e45804b51
commit
a38bea2fdc
2 changed files with 2 additions and 2 deletions
|
@ -41,6 +41,7 @@ class OTPClientRepository(ClientRepositoryBase):
|
|||
self.parentMgr.registerParent(OTPGlobals.SPHidden, NodePath())
|
||||
self.timeManager = None
|
||||
|
||||
self._proactiveLeakChecks = config.GetBool('crash-on-proactive-leak-detect', 1)
|
||||
self.activeDistrictMap = {}
|
||||
self.telemetryLimiter = TelemetryLimiter()
|
||||
self.serverVersion = serverVersion
|
||||
|
|
|
@ -732,8 +732,7 @@ class ToontownClientRepository(OTPClientRepository.OTPClientRepository):
|
|||
petAvatar.delete()
|
||||
if callback:
|
||||
callback()
|
||||
if self._proactiveLeakChecks:
|
||||
petAvatar.detectLeaks()
|
||||
petAvatar.detectLeaks()
|
||||
|
||||
PetDetail.PetDetail(doId, petDetailsCallback)
|
||||
|
||||
|
|
Loading…
Reference in a new issue