Commit caec6e72 by BellCodeEditor

auto save

parent 3af79f3e
Showing with 1 additions and 1 deletions
......@@ -15,7 +15,7 @@ my_font=pygame.font.Font('neuropol.ttf',18)
text=my_font.render('Score:10',True,(0,0,0))
while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
if event.type+==locals.QUIT:
exit()
# 绘制画面
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment