Skip to content

Commit

Permalink
Remove unneeded Maze Craze warning (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
dm-ackerman authored Feb 26, 2024
1 parent 9f8c1a8 commit e812151
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pettingzoo/atari/maze_craze/maze_craze.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"""

import os
import warnings
from glob import glob

from pettingzoo.atari.base_atari_env import (
Expand All @@ -102,10 +101,6 @@


def raw_env(game_version="robbers", visibilty_level=0, **kwargs):
if game_version == "robbers" and visibilty_level == 0:
warnings.warn(
"maze_craze has different versions of the game via the `game_version` argument, consider overriding."
)
assert (
game_version in avaliable_versions
), f"`game_version` parameter must be one of {avaliable_versions.keys()}"
Expand Down

0 comments on commit e812151

Please sign in to comment.