Commit acf8e8f3 authored by Yuxin Wu's avatar Yuxin Wu

bugfix in RL/historybuffer

parent 206e1a67
...@@ -71,4 +71,4 @@ class HistoryFramePlayer(ProxyPlayer): ...@@ -71,4 +71,4 @@ class HistoryFramePlayer(ProxyPlayer):
def restart_episode(self): def restart_episode(self):
super(HistoryFramePlayer, self).restart_episode() super(HistoryFramePlayer, self).restart_episode()
self.history.clear() self.history.clear()
self.history.append(self.player.current_state()) self.history.push(self.player.current_state())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment