Commit 77f4a2f1 by BellCodeEditor

auto save

parent 8d745181
Showing with 3 additions and 3 deletions
...@@ -31,9 +31,9 @@ while True: ...@@ -31,9 +31,9 @@ while True:
# 接收到退出事件后退出程序 # 接收到退出事件后退出程序
exit() exit()
if event.type==locals.KEYDOWN: if event.type==locals.KEYDOWN:
if event.key==locals.K_SPACE: if state=='running':
if state=='running': if event.key==locals.K_SPACE:
state='up' state='up'
if state=='up': if state=='up':
if t>0: if t>0:
......
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