MCPcopy Create free account
hub / github.com/ddnet/ddnet / EndRound

Method EndRound

src/game/server/gamecontroller.cpp:453–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453void IGameController::EndRound()
454{
455 if(m_Warmup) // game can't end when we are running warmup
456 return;
457
458 SetGamePaused(true);
459 m_GameOverTick = Server()->Tick();
460 m_SuddenDeath = 0;
461}
462
463void IGameController::ResetGame()
464{

Callers

nothing calls this directly

Calls 2

ServerClass · 0.50
TickMethod · 0.45

Tested by

no test coverage detected