Skip to content
Snippets Groups Projects
Commit 3403d046 authored by Florian Schröder's avatar Florian Schröder
Browse files

Switch screen for drawing orders in GUI

The screen parameter for the draw_orders function has been changed from game_screen to main_window. This should ensure the orders will appear in the main application window instead of a separate game-specific screen, enhancing user interaction and visibility.
parent df234b9c
No related branches found
No related tags found
1 merge request!26Resolve "api"
Pipeline #44687 failed
...@@ -341,7 +341,7 @@ class PyGameGUI: ...@@ -341,7 +341,7 @@ class PyGameGUI:
self.update_remaining_time(state["remaining_time"]) self.update_remaining_time(state["remaining_time"])
self.vis.draw_orders( self.vis.draw_orders(
screen=self.game_screen, screen=self.main_window,
state=state, state=state,
grid_size=self.grid_size, grid_size=self.grid_size,
width=self.game_width, width=self.game_width,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment