MCPcopy Create free account
hub / github.com/assaultcube/AC / resetserverifempty

Function resetserverifempty

source/src/server.cpp:4386–4394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4384}
4385
4386void resetserverifempty()
4387{
4388 loopv(clients) if(clients[i]->type!=ST_EMPTY) return;
4389 resetserver("", 0, 10);
4390 sg->matchteamsize = 0;
4391 sg->autoteam = true;
4392 changemastermode(MM_OPEN);
4393 sg->nextmapname[0] = '\0';
4394}
4395
4396void sendworldstate()
4397{

Callers 2

serversliceFunction · 0.85
initserverFunction · 0.85

Calls 3

resetserverFunction · 0.85
changemastermodeFunction · 0.85
loopvFunction · 0.70

Tested by

no test coverage detected