From 62ed1ae7f3462ccb462545363f2179f1084c6730 Mon Sep 17 00:00:00 2001 From: Aaron Chong Date: Tue, 27 Jun 2023 16:06:22 +0800 Subject: [PATCH] Remove faulty unnecessary override of reset method --- nes_py/wrappers/joypad_space.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nes_py/wrappers/joypad_space.py b/nes_py/wrappers/joypad_space.py index 893ea6f..99904f2 100644 --- a/nes_py/wrappers/joypad_space.py +++ b/nes_py/wrappers/joypad_space.py @@ -73,10 +73,6 @@ def step(self, action): # take the step and record the output return self.env.step(self._action_map[action]) - def reset(self): - """Reset the environment and return the initial observation.""" - return self.env.reset() - def get_keys_to_action(self): """Return the dictionary of keyboard keys to actions.""" # get the old mapping of keys to actions