diff --git a/UI/endscreen.py b/UI/endscreen.py index 18773d0..b43f82c 100644 --- a/UI/endscreen.py +++ b/UI/endscreen.py @@ -13,7 +13,7 @@ def _create_widgets(self, win:bool): message = "You won the game!" if win else "You lost the game!" self.lblWinner = tk.Label(self, width=20, height=5, bg="white", text=message) #self.btnPlayAgain = tk.Button(self, width=20, height=5, text="Play Again", command=lambda: self.master.show(Field)) - self.btnMainMenu = tk.Button(self, text="Main Menu", width=20, height=5, command=lambda: self.master.show_menu) + self.btnMainMenu = tk.Button(self, text="Main Menu", width=20, height=5, command=lambda: self.master.show_menu()) def _display_widgets(self): self.lblWinner.pack()