Fixed an error in game configuration path.

This commit is contained in:
Storm Dragon 2019-12-10 18:26:57 -05:00
parent ec7e9d3461
commit 48217dd63e

View File

@ -80,7 +80,7 @@ def initialize_gui(gameTitle):
global globalPath
global gamePath
globalPath = BaseDirectory.xdg_config_home + "/storm-games"
gamePath = globalPath + "/" + str.lower(str.replace(gameTitle, " ", "-") + "config")
gamePath = globalPath + "/" + str.lower(str.replace(gameTitle, " ", "-") + "/config")
globalPath = globalPath + "/config"
if not os.path.exists(gamePath): os.makedirs(gamePath)
# Seed the random generator to the clock