Commit 1f0f86aa authored by Potron Corentin's avatar Potron Corentin
Browse files

Increase recurstion limit + some tweaks to enable map 60x60

parent e6e750f8
......@@ -22,11 +22,11 @@ def launch_game():
if __name__ == "__main__":
# This prevent RecursionError with big map
sys.setrecursionlimit(3000)
sys.setrecursionlimit(5000)
# Setup main menu window and content frame
main_window = tkinter.Tk()
main_window.title('Seven Colors - Menu principal')
main_window.title('Menu principal')
frame_window = tkinter.Frame(main_window, padx=20, pady=20)
frame_window.pack(fill='both', expand=True)
......@@ -64,8 +64,8 @@ if __name__ == "__main__":
size_x = tkinter.Scale(
label_frame_game,
orient='horizontal',
from_=1,
to=50,
from_=5,
to=60,
resolution=1,
length=170)
size_x.grid(row=0, column=1)
......@@ -74,8 +74,8 @@ if __name__ == "__main__":
size_y = tkinter.Scale(
label_frame_game,
orient='horizontal',
from_=1,
to=50,
from_=5,
to=60,
resolution=1,
length=170)
size_y.grid(row=1, column=1)
......@@ -85,7 +85,7 @@ if __name__ == "__main__":
label_frame_game,
orient='horizontal',
from_=0,
to=30,
to=20,
resolution=1,
length=170)
size_a.grid(row=2, column=1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment