Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/application.cc')
-rw-r--r--src/core/application.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/application.cc b/src/core/application.cc
index 5394b92..efa7bca 100644
--- a/src/core/application.cc
+++ b/src/core/application.cc
@@ -229,12 +229,9 @@ void Application::connect(std::string const &host)
if (host.size()) {
application_game = new GameConnection(host);
- if (application_game->running()) {
- con_print << "Connected to '" << host << "'\n";
- } else {
+ if (!application_game->running()) {
delete application_game;
application_game = 0;
- con_warn << "Could not connect to '" << host << "'!\n";
}
} else {
application_game = new GameServer();