Skip to content

Commit

Permalink
CLIENT-GAME: Add space to lobby
Browse files Browse the repository at this point in the history
PATCH
  • Loading branch information
TTENSHII committed Nov 2, 2023
1 parent 1d59fcf commit fbfe9c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Nitwork/NitworkMainServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,13 @@ namespace Nitwork {
int ownerPort)
{
#ifdef _WIN32
std::string winName = "\"" + name + "\"";
std::basic_ostringstream<TCHAR> cmdline;
cmdline << _T(ECS::ResourcesManager::convertPath(
"./r-type_server.exe",
ECS::ResourcesManager::FileType::BINARY)
.c_str())
<< _T(" 1 ") << _T(maxNbPlayer) << _T(" ") << _T(gameType) << _T(" ") << _T(name.c_str())
<< _T(" 1 ") << _T(maxNbPlayer) << _T(" ") << _T(gameType) << _T(" ") << _T(winName.c_str())
<< _T(" ") << _T(ownerIp.c_str()) << _T(" ") << _T(ownerPort);

Logger::fatal("cmdline: " + cmdline.str());
Expand Down

0 comments on commit fbfe9c6

Please sign in to comment.