mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -04:00
kill crash when exiting toontown while you are receiving minigame beans
This commit is contained in:
parent
dce262f69b
commit
2a19d8e7a5
@ -387,6 +387,8 @@ class GravityWalker(DirectObject.DirectObject):
|
|||||||
have been disabled.
|
have been disabled.
|
||||||
"""
|
"""
|
||||||
assert self.notify.debugStateCall(self)
|
assert self.notify.debugStateCall(self)
|
||||||
|
if not hasattr(self, 'cWallSphereNodePath'):
|
||||||
|
return
|
||||||
self.isAirborne = 0
|
self.isAirborne = 0
|
||||||
self.mayJump = 1
|
self.mayJump = 1
|
||||||
tempCTrav = CollisionTraverser("oneTimeCollide")
|
tempCTrav = CollisionTraverser("oneTimeCollide")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user