Commit 7030cd48 by BellCodeEditor

save project

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