added log message and cooldown for flower reset
This commit is contained in:
1 parent
22cb2f41b6
commit
4a971bbdba
1 file changed
+2
@@ -360,6 +360,8 @@ class FlowerGameEnv(gym.Env):
|
||||
if self._cooldown == 0 and tf:
|
||||
if not ff:
|
||||
pyautogui.press("r")
|
||||
print("Flower Reset")
|
||||
self._cooldown = self.contact_cooldown_frames
|
||||
else:
|
||||
if self.prev_flower_x is None:
|
||||
self.prev_flower_x = fx
|
||||
|
||||
Reference in new issue
Block a user