Fixed Avatar problem in the LevelEditor

This commit is contained in:
Gyedo Jeon 2007-08-16 21:44:53 +00:00
parent c6d2da38f1
commit c96cc1a425
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ class GravityWalker(DirectObject.DirectObject):
# Check for Auto-Run
if 'localAvatar' in __builtins__:
if base.localAvatar.getAutoRun():
if base.localAvatar and base.localAvatar.getAutoRun():
forward = 1
reverse = 0