diff options
author | Willian Henrique <wsimanbrazil@yahoo.com.br> | 2023-05-08 18:38:48 -0300 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2023-05-21 22:11:16 +0100 |
commit | c2bb37238d02e1634242607a9079c5033138ced7 (patch) | |
tree | 0f5eea5b7feaa0ce5511231627019f7c143dcbe9 /src/gamedata.c | |
parent | 892d99184d3969faf143d3741007b108253fa82c (diff) |
Add command to reset L4D2 vote cooldowns
In most versions of L4D2, players cannot call a vote (e.g. switch
campaign, change difficulty, restart campaign) more than once every 3
minutes. This makes resetting on a first map a pain, usually requiring
reloading the map to reset the vote state.
This new sst_l4d_vote_cooldown_reset command empties the list of
structures tracking vote callers, allowing all players to vote again
immediately. This should make resetting runs a lot easier on versions
without unlimited votes.
Diffstat (limited to 'src/gamedata.c')
0 files changed, 0 insertions, 0 deletions