This commit is contained in:
p57492168 2022-07-03 12:35:47 +08:00
parent 900bc64f57
commit 6fbd3c65f6
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ class SeaEnvEngine(object):
raise AssertionError("Cannot continue running after crash!")
for ship_id, action in enumerate(actions):
if action == UP: # up
if action == UP:
self._ship_charging[ship_id] = False
self._ship_charging_time_left[ship_id] = 0
self.ship_body[ship_id].angle = 1.5*np.pi