Fixed an error in game configuration path.
This commit is contained in:
parent
ec7e9d3461
commit
48217dd63e
@ -80,7 +80,7 @@ def initialize_gui(gameTitle):
|
|||||||
global globalPath
|
global globalPath
|
||||||
global gamePath
|
global gamePath
|
||||||
globalPath = BaseDirectory.xdg_config_home + "/storm-games"
|
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"
|
globalPath = globalPath + "/config"
|
||||||
if not os.path.exists(gamePath): os.makedirs(gamePath)
|
if not os.path.exists(gamePath): os.makedirs(gamePath)
|
||||||
# Seed the random generator to the clock
|
# Seed the random generator to the clock
|
||||||
|
Loading…
Reference in New Issue
Block a user