Make process name nicer.

This commit is contained in:
Storm Dragon 2019-12-11 09:37:58 -05:00
parent ba09c4d5f3
commit fc62ccc058

View File

@ -89,7 +89,7 @@ def initialize_gui(gameTitle):
# Set game's name
global gameName
gameName = gameTitle
setproctitle(gameTitle)
setproctitle(str.lower(str.replace(gameTitle, " ", "")))
# start pygame
pygame.init()
# start the display (required by the event loop)