Urban Terror is now launching, in local X or in another.

This commit is contained in:
2016-10-04 18:09:14 +05:00
parent ac938c16eb
commit cff72734c6
3 changed files with 51 additions and 10 deletions

View File

@@ -468,7 +468,7 @@ func (m *MainWindow) launchGame() error {
m.statusbar.Push(m.statusbar_context_id, "Launching Urban Terror...")
m.launch_button.SetSensitive(false)
// ToDo: handling server passwords.
ctx.Launcher.Launch(profile[0].Binary, profile[0].Additional_params, srv_address, "", m.unlockInterface)
ctx.Launcher.Launch(&profile[0], srv_address, "", m.unlockInterface)
return nil
}