diff --git a/pocket_friends/development/dev_menu.py b/pocket_friends/development/dev_menu.py index 0f89705..24e2fe4 100644 --- a/pocket_friends/development/dev_menu.py +++ b/pocket_friends/development/dev_menu.py @@ -93,8 +93,7 @@ def main(): # The following defines all of the options in the various different menus. - main_menu = Menu( - 'Pocket Friends Dev Menu {0}\nGame Version {1}'.format(dev_version, pocket_friends.game_files.game.version)) + main_menu = Menu('Pocket Friends Dev Menu') main_menu.add_option(Menu.Option('Start Game', start_game)) main_menu.add_option(Menu.Option('Button Test', run_button_test)) main_menu.add_option(Menu.Option('Restart Dev Menu', quit_with_error)) diff --git a/pocket_friends/game_files/game.py b/pocket_friends/game_files/game.py index d272e74..d720e57 100644 --- a/pocket_friends/game_files/game.py +++ b/pocket_friends/game_files/game.py @@ -5,10 +5,11 @@ from collections import deque import importlib.util import json import os +from pathlib import Path +import pocket_friends import pygame from pygame.locals import * from ..hardware.gpio_handler import Constants, GPIOHandler -from pathlib import Path # FPS for the entire game to run at. game_fps = 16 @@ -140,7 +141,7 @@ def game(): surface = pygame.Surface((rendered_size, rendered_size)) # Only really useful for PCs. Does nothing on the Raspberry Pi. - pygame.display.set_caption('Pocket Friends') + pygame.display.set_caption('Pocket Friends {0}'.format(pocket_friends.__version__)) clock = pygame.time.Clock()