Skip to content

Commit

Permalink
little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasBertola committed Jul 30, 2023
1 parent da1fd34 commit deb0b49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion connect_four_gymnasium/ConnectFourEnv.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def clone(self):

def clone_and_play(self, action):
newself = self.clone()
newBoard, result, IsFinish, isTruncated = newself.step(action)
newBoard, result, IsFinish, isTruncated, _ = newself.step(action)
return newBoard, result, IsFinish, isTruncated, newself

def step(self, action, play_opponent=True):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='gymnasium_connect_four',
version='1.2.4',
version='1.2.5',
description='A connect 4 (connect four) environment for OpenAI Gym and Gymnasium',
author='Lucas Bertola',
url='https://github.com/lucasBertola/Connect-4-env',
Expand Down

0 comments on commit deb0b49

Please sign in to comment.