mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix: Make /map work with #
This commit is contained in:
parent
c65458ca06
commit
96e864e9c3
|
@ -474,7 +474,7 @@ void CSqlScore::MapVoteThread(void *pUser)
|
|||
char aServer[32];
|
||||
strcpy(aServer, pData->m_pSqlData->m_pResults->getString("Server").c_str());
|
||||
char aCmd[256];
|
||||
str_format(aCmd, sizeof(aCmd), "sv_reset_file types/%s/flexreset.cfg; change_map %s", aServer, aMap);
|
||||
str_format(aCmd, sizeof(aCmd), "sv_reset_file types/%s/flexreset.cfg; change_map \"%s\"", aServer, aMap);
|
||||
char aChatmsg[512];
|
||||
str_format(aChatmsg, sizeof(aChatmsg), "'%s' called vote to change server option '%s' (%s)", pData->m_pSqlData->GameServer()->Server()->ClientName(pData->m_ClientID), aMap, "/map");
|
||||
|
||||
|
|
Loading…
Reference in a new issue