diff --git a/baselines/common/atari_wrappers.py b/baselines/common/atari_wrappers.py index 6f551a7..a08ab8f 100644 --- a/baselines/common/atari_wrappers.py +++ b/baselines/common/atari_wrappers.py @@ -72,8 +72,8 @@ class EpisodicLifeEnv(gym.Wrapper): # then update lives to handle bonus lives lives = self.env.unwrapped.ale.lives() if lives < self.lives and lives > 0: - # for Qbert sometimes we stay in lives == 0 condtion for a few frames - # so its important to keep lives > 0, so that we only reset once + # for Qbert sometimes we stay in lives == 0 condition for a few frames + # so it's important to keep lives > 0, so that we only reset once # the environment advertises done. done = True self.lives = lives