1
0
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:
nordsoft 2022-09-22 15:39:43 +04:00
parent 667d97d300
commit c2f5628fc5

View File

@ -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(...)