Fix ; instead of ,

This commit is contained in:
2024-04-11 16:06:26 +02:00
parent 9edd5cb396
commit ad325a5603

View File

@@ -236,7 +236,7 @@ void MainWindow::handleMessage(const std::string& message)
}
else if (list[2] == "set pos")
{
std::vector<std::string> msg = TCPSocket::split(list[3], ";");
std::vector<std::string> msg = TCPSocket::split(list[3], ",");
std::cout << "X : " << msg[0] << " Y : " << msg[1] << std::endl;
this->inGame->updatePos(msg[0], msg[1]);
}