Update Base5ActionRLEnv.py

Fix init
This commit is contained in:
Shane 2024-05-24 22:15:34 +10:00 committed by GitHub
parent 1d5abe5b75
commit 3436e8aa1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ class Base5ActionRLEnv(BaseEnvironment):
"""
def __init__(self, *args, action_space_type: str = "Discrete", **kwargs):
super().__init__(**kwargs)
super().__init__(*args, **kwargs)
self.action_space_type = action_space_type
self.actions = Actions