Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ ChangeMap
Method
ChangeMap
src/engine/server/server.cpp:2898–2902 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2896
}
2897
2898
void CServer::ChangeMap(const char *pMap)
2899
{
2900
str_copy(Config()->m_SvMap, pMap);
2901
m_MapReload = str_comp(Config()->m_SvMap, GameServer()->Map()->FullName()) != 0;
2902
}
2903
2904
void CServer::ReloadMap()
2905
{
Callers
nothing calls this directly
Calls
5
str_comp
Function · 0.85
str_copy
Function · 0.50
Config
Function · 0.50
FullName
Method · 0.45
Map
Method · 0.45
Tested by
no test coverage detected