mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Add system message
# Conflicts: # client/CServerHandler.cpp
This commit is contained in:
parent
667d97d300
commit
c2f5628fc5
@ -17,6 +17,7 @@
|
||||
|
||||
#include "lobby/CSelectionBase.h"
|
||||
#include "lobby/CLobbyScreen.h"
|
||||
#include "windows/InfoWindows.h"
|
||||
|
||||
#include "mainmenu/CMainMenu.h"
|
||||
|
||||
@ -166,6 +167,7 @@ void CServerHandler::startLocalServerAndConnect()
|
||||
{
|
||||
CConnection testConnection(settings["server"]["server"].String(), getDefaultPort(), NAME, uuid);
|
||||
logNetwork->error("Port is busy, kill other vcmiserver processes");
|
||||
CInfoWindow::showInfoDialog("Port is busy, kill other vcmiserver processes", CInfoWindow::TCompsInfo(), PlayerColor(1));
|
||||
return;
|
||||
}
|
||||
catch(...)
|
||||
|
Loading…
Reference in New Issue
Block a user