Commit 7030cd48 by BellCodeEditor

save project

parent a65171bf
Showing with 3 additions and 3 deletions
...@@ -80,13 +80,13 @@ while True: ...@@ -80,13 +80,13 @@ while True:
center[0] = center[0] - 1 center[0] = center[0] - 1
elif event.key == locals.K_UP: # 向上键 elif event.key == locals.K_UP: # 向上键
old_index = index old_index= index
index += 1 index += 1
if index >= len(shape): if index >= len(shape):
index = 0 index=0
current_shape = shape[index] current_shape = shape[index]
if check(center) == False: if check(center) == False:
index = old_index index=old_index
current_shape = shape[index] current_shape = shape[index]
if states == False: if states == False:
......
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