mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3041 from JProffitt71/bugfix_evennia_launcher_set_gamedir
fix: set_gamedir use provided path and SETTINGS_DOTPATH
This commit is contained in:
commit
41c6e99c8e
1 changed files with 2 additions and 2 deletions
|
|
@ -1371,8 +1371,8 @@ def set_gamedir(path):
|
|||
global GAMEDIR
|
||||
|
||||
Ndepth = 10
|
||||
settings_path = os.path.join("server", "conf", "settings.py")
|
||||
os.chdir(GAMEDIR)
|
||||
settings_path = SETTINGS_DOTPATH.replace(".", os.sep) + ".py"
|
||||
os.chdir(path)
|
||||
for i in range(Ndepth):
|
||||
gpath = os.getcwd()
|
||||
if "server" in os.listdir(gpath):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue