Make process name nicer.
This commit is contained in:
parent
ba09c4d5f3
commit
fc62ccc058
@ -89,7 +89,7 @@ def initialize_gui(gameTitle):
|
|||||||
# Set game's name
|
# Set game's name
|
||||||
global gameName
|
global gameName
|
||||||
gameName = gameTitle
|
gameName = gameTitle
|
||||||
setproctitle(gameTitle)
|
setproctitle(str.lower(str.replace(gameTitle, " ", "")))
|
||||||
# start pygame
|
# start pygame
|
||||||
pygame.init()
|
pygame.init()
|
||||||
# start the display (required by the event loop)
|
# start the display (required by the event loop)
|
||||||
|
Loading…
Reference in New Issue
Block a user