diff --git a/__main__.py b/__main__.py index 0503c79..dbefa03 100644 --- a/__main__.py +++ b/__main__.py @@ -100,6 +100,10 @@ class Launcher: self.currentGame = None os.chdir(originalCWD) pygame.display.set_caption('Pain Jam Launcher') + # If we launched directly into a game + if args.gameID != None: + # Exit the launcher when we exit the game + self.running = False else: if event.type == pygame.QUIT: # Exit the launcher.