kill crash when exiting toontown while you are receiving minigame beans

This commit is contained in:
Redmond Urbino 2007-03-19 23:56:54 +00:00
parent dce262f69b
commit 2a19d8e7a5

View File

@ -387,6 +387,8 @@ class GravityWalker(DirectObject.DirectObject):
have been disabled.
"""
assert self.notify.debugStateCall(self)
if not hasattr(self, 'cWallSphereNodePath'):
return
self.isAirborne = 0
self.mayJump = 1
tempCTrav = CollisionTraverser("oneTimeCollide")