Commit b7f67b43 by BellCodeEditor

save project

parent f22cc3a0
Showing with 1 additions and 1 deletions
......@@ -65,7 +65,7 @@ while True:
if event.type == locals.KEYDOWN:
if event.key == locals.K_RIGHT:
center[1] = center[1] - 1
if check(center) == center[1] + 1
if check(center) == False:
center[1] = center[1] + 1
elif event.key == locals.K_LEFT: # 向左
......
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