diff --git a/ui/mainwindow_launch.go b/ui/mainwindow_launch.go
index 7ed3d1b..583a80a 100644
--- a/ui/mainwindow_launch.go
+++ b/ui/mainwindow_launch.go
@@ -179,9 +179,11 @@ func (m *MainWindow) launchActually(server_profile *datamodels.Server, user_prof
}
// Hey, we're ok here! :) Launch Urban Terror!
- // Crear server name from "" things.
- srv_name_for_label := string([]byte(server_profile.Name)[8:len(server_profile.Name)-9])
- fmt.Println(srv_name_for_label)
+ // Clear server name from "" things.
+ srv_name_for_label := server_profile.Name
+ if strings.Contains(server_profile.Name, "markup") {
+ srv_name_for_label = string([]byte(server_profile.Name)[8:len(server_profile.Name)-9])
+ }
// Show great coloured label.
ctx.Eventer.LaunchEvent("setToolbarLabelText", map[string]string{"text": "Urban Terror is launched with profile " + user_profile.Name + " and connected to " + srv_name_for_label + ""})
m.launch_button.SetSensitive(false)