Commit bd9efedd by BellCodeEditor

save project

parent 86c7af98
Showing with 2 additions and 0 deletions
...@@ -82,6 +82,8 @@ while True: ...@@ -82,6 +82,8 @@ while True:
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):
index = 0
if check(center) == False: if check(center) == False:
indxt = old_index indxt = old_index
current_shape = shape[index] current_shape = shape[index]
......
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