mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Merge pull request #7244 from furo321/suicide-penalty
Remove unused config, `sv_suicide_penalty`
This commit is contained in:
commit
5d220e337c
|
@ -238,7 +238,6 @@ MACRO_CONFIG_INT(SvVoteMajority, sv_vote_majority, 0, 0, 1, CFGFLAG_SERVER, "Whe
|
|||
MACRO_CONFIG_INT(SvVoteMaxTotal, sv_vote_max_total, 0, 0, MAX_CLIENTS, CFGFLAG_SERVER, "How many people can participate in a vote at max (0 = no limit by default)")
|
||||
MACRO_CONFIG_INT(SvVoteVetoTime, sv_vote_veto_time, 20, 0, 1000, CFGFLAG_SERVER, "Minutes of time on a server until a player can veto map change votes (0 = disabled)")
|
||||
MACRO_CONFIG_INT(SvKillDelay, sv_kill_delay, 1, 0, 9999, CFGFLAG_SERVER, "The minimum time in seconds between kills")
|
||||
MACRO_CONFIG_INT(SvSuicidePenalty, sv_suicide_penalty, 0, 0, 9999, CFGFLAG_SERVER, "The minimum time in seconds between kill or /kills and respawn")
|
||||
|
||||
MACRO_CONFIG_INT(SvMapWindow, sv_map_window, 15, 0, 100, CFGFLAG_SERVER, "Map downloading send-ahead window")
|
||||
MACRO_CONFIG_INT(SvFastDownload, sv_fast_download, 1, 0, 1, CFGFLAG_SERVER, "Enables fast download of maps")
|
||||
|
|
|
@ -401,7 +401,6 @@ void CGameContext::ConKill(IConsole::IResult *pResult, void *pUserData)
|
|||
|
||||
pPlayer->m_LastKill = pSelf->Server()->Tick();
|
||||
pPlayer->KillCharacter(WEAPON_SELF);
|
||||
//pPlayer->m_RespawnTick = pSelf->Server()->Tick() + pSelf->Server()->TickSpeed() * g_Config.m_SvSuicidePenalty;
|
||||
}
|
||||
|
||||
void CGameContext::ConForcePause(IConsole::IResult *pResult, void *pUserData)
|
||||
|
|
Loading…
Reference in a new issue