From c2bb37238d02e1634242607a9079c5033138ced7 Mon Sep 17 00:00:00 2001 From: Willian Henrique Date: Mon, 8 May 2023 18:38:48 -0300 Subject: 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. --- compile | 1 + 1 file changed, 1 insertion(+) (limited to 'compile') 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 -- cgit v1.2.3