Commit 9b8aabfe by BellCodeEditor

save project

parent 39137954
Showing with 1 additions and 1 deletions
...@@ -28,7 +28,7 @@ while True: ...@@ -28,7 +28,7 @@ while True:
# 接收到退出事件后退出程序 # 接收到退出事件后退出程序
exit() exit()
if event.type==locals.KEYUP: if event.type==locals.KEYUP:
if event.key==locals.K_SPACE: if event.key==locals.K_SPACE and state=="running":
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