Skip to content

Commit

Permalink
docs: fix playback script example
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherhesse committed Nov 21, 2018
1 parent 68af416 commit caee7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ import retro
movie = retro.Movie('AirStriker-Genesis-Level1-000000.bk2')
movie.step()

env = retro.make(game=movie.get_game(), state=None, use_restricted_actions=retro.Actions.ALL)
env = retro.make(game=movie.get_game(), state=None, use_restricted_actions=retro.Actions.ALL, players=movie.players)
env.initial_state = movie.get_state()
env.reset()

Expand Down

0 comments on commit caee7b7

Please sign in to comment.