Skip to content

Commit

Permalink
Change AI:MMO default code to return an action (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
riaJha97 committed Sep 12, 2018
1 parent 76c5828 commit 714ca78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aimmo/avatar_examples/dumb_avatar.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ def handle_turn(self, world_state, avatar_state):
import random

new_dir = random.choice(direction.ALL_DIRECTIONS)
return new_dir
return MoveAction(new_dir)

0 comments on commit 714ca78

Please sign in to comment.