forked from SeAIPalette/SeAIPalette
This commit is contained in:
parent
900bc64f57
commit
6fbd3c65f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue