Skip to content

Commit

Permalink
Fixed|Snowberry: Missing space in options string
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaakko Keränen committed Jan 17, 2013
1 parent 9df2bbc commit 1434981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snowberry/plugins/launcher.py
Expand Up @@ -207,14 +207,14 @@ def startGame(profile):
isServer = '-dedicated' in options
if isServer:
idx = options.index('-dedicated')
options = options[:idx] + options[idx+10:]
options = options[:idx] + options[idx+11:]
engineBin = st.getSystemString('doomsday-server-binary')
userPath = paths.getUserPath(paths.SERVER_RUNTIME)
else:
engineBin = st.getSystemString('doomsday-binary')
userPath = paths.getUserPath(paths.RUNTIME)

options += '-userdir ' + paths.quote(userPath)
options += ' -userdir ' + paths.quote(userPath)

# Put the response file in the user's runtime directory.
responseFile = os.path.join(userPath, 'Options.rsp')
Expand Down

0 comments on commit 1434981

Please sign in to comment.