Skip to content

Commit

Permalink
Removed unnecessary if statement (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcguires5 authored and qstanczyk committed Aug 5, 2019
1 parent 2238c15 commit 5faba9c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gfootball/env/football_env_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def step(self, action, extra_data={}):
self._trace.update(trace)
if done:
self.write_dump('episode_done')
if done:
self._env_state = 'game_done'
fps = self._step_count / (debug['time'] - self._episode_start)
game_fps = self._step_count / self._env._steps_time
Expand Down

0 comments on commit 5faba9c

Please sign in to comment.