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

Method OnDisconnect

src/game/server/player.cpp:535–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535void CPlayer::OnDisconnect()
536{
537 KillCharacter();
538
539 m_Moderating = false;
540}
541
542void CPlayer::OnPredictedInput(const CNetObj_PlayerInput *pNewInput)
543{

Callers 1

OnPlayerDisconnectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected