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

Function loopvrev

source/src/server.cpp:294–298  ·  view source on GitHub ↗

empty server and nothing to do:

Source from the content-addressed store, hash-verified

292 else if(numclients() == 0)
293 { // empty server and nothing to do:
294 loopvrev(servermapstodelete)
295 {
296 gamesuggestions.removeobj(servermapstodelete[i]);
297 delete servermapstodelete.remove(i); // delete outdated servermaps
298 }
299 }
300 else serverwasnotempty = true;
301 break;

Callers

nothing calls this directly

Calls 4

checkgbanFunction · 0.85
disconnect_clientFunction · 0.85
removeobjMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected