summaryrefslogtreecommitdiffhomepage
path: root/compile
diff options
context:
space:
mode:
authorWillian Henrique <wsimanbrazil@yahoo.com.br>2023-05-08 18:38:48 -0300
committerMichael Smith <mikesmiffy128@gmail.com>2023-05-21 22:11:16 +0100
commitc2bb37238d02e1634242607a9079c5033138ced7 (patch)
tree0f5eea5b7feaa0ce5511231627019f7c143dcbe9 /compile
parent892d99184d3969faf143d3741007b108253fa82c (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 'compile')
-rwxr-xr-xcompile1
1 files changed, 1 insertions, 0 deletions
diff --git a/compile b/compile
index 3c35ed1..a3d07a8 100755
--- a/compile
+++ b/compile
@@ -67,6 +67,7 @@ src="\
gameinfo.c
hook.c
kv.c
+ l4d2vote.c
l4dwarp.c
nosleep.c
portalcolours.c