diff options
Diffstat (limited to 'src/splitscreen_duo/__init__.py')
| -rw-r--r-- | src/splitscreen_duo/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/splitscreen_duo/__init__.py b/src/splitscreen_duo/__init__.py index defba37..3df7290 100644 --- a/src/splitscreen_duo/__init__.py +++ b/src/splitscreen_duo/__init__.py @@ -28,6 +28,7 @@ def main() -> int: print("The Dual Screen Console") logger.info(f"running as {os.getenv('INSTANCE', 'unknown')}") menu.init_display() + menu.set_screen_orientation(is_joint_mode[0]) font = pygame.font.Font(None, 36) BLACK = (0, 0, 0) @@ -92,10 +93,12 @@ def main() -> int: if command == Command.ENTER_JOINT_MODE.value: is_joint_mode[0] = True + menu.set_screen_orientation(is_joint_mode[0]) logger.info("secondary entering joint mode") elif command == Command.EXIT_JOINT_MODE.value: is_joint_mode[0] = False + menu.set_screen_orientation(is_joint_mode[0]) logger.info("secondary exiting joint mode") elif command == Command.QUIT.value: pygame.quit() @@ -167,8 +170,6 @@ def main() -> int: if result == 0: return 0 - menu.draw_menu() - pygame.quit() return 0 |