From c6dba1d175b4abe6e9e7f4948204b35ad16930e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Fri, 3 Jun 2022 19:54:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8flip=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tool.py b/source/tool.py index 355c497..2d2c042 100755 --- a/source/tool.py +++ b/source/tool.py @@ -97,7 +97,7 @@ class Control(): while not self.done: self.event_loop() self.update() - pg.display.update() + pg.display.flip() self.clock.tick(self.fps) print('game over')