From 205ec949e173be299b6b99fdd3c6504ef387dc23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Mon, 1 Aug 2022 22:54:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=B0=8F=E6=8E=A8=E8=BD=A6?= =?UTF-8?q?=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/component/plant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/component/plant.py b/source/component/plant.py index 9481718..e05adef 100755 --- a/source/component/plant.py +++ b/source/component/plant.py @@ -22,7 +22,7 @@ class Car(pg.sprite.Sprite): def update(self, game_info): self.current_time = game_info[c.CURRENT_TIME] if self.state == c.WALK: - self.rect.x += 4 + self.rect.x += 6 if self.rect.x > c.SCREEN_WIDTH + 60: self.dead = True