From 66a4bb135835c2627cea9de712f9397af5a175f7 Mon Sep 17 00:00:00 2001 From: p57492168 <2577192526@qq.com> Date: Wed, 22 Jun 2022 23:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Palette/env/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Palette/env/engine.py b/Palette/env/engine.py index 8eedb22..15f06cd 100644 --- a/Palette/env/engine.py +++ b/Palette/env/engine.py @@ -104,7 +104,7 @@ class SeaEnvEngine(object): self.space.gravity = pymunk.Vec2d(0., 0.) # create bounds # self.create_bounds(window_height, window_width) - # create ship + self.finished_idx = None self.init_ships = init_ships self.battery_capacity = None