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

Method OnStartGame

src/game/client/gameclient.cpp:1270–1275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1268}
1269
1270void CGameClient::OnStartGame()
1271{
1272 if(Client()->State() != IClient::STATE_DEMOPLAYBACK && !g_Config.m_ClAutoDemoOnConnect)
1273 Client()->DemoRecorder_HandleAutoStart();
1274 m_Statboard.OnReset();
1275}
1276
1277void CGameClient::OnStartRound()
1278{

Callers

nothing calls this directly

Calls 4

ClientFunction · 0.50
StateMethod · 0.45
OnResetMethod · 0.45

Tested by

no test coverage detected