Fixed Avatar problem in the LevelEditor
This commit is contained in:
parent
c6d2da38f1
commit
c96cc1a425
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue