From 41b152ccf627066a1b01b5dd7744b06805650f9b Mon Sep 17 00:00:00 2001 From: Lonsfor Date: Sat, 30 Apr 2022 20:55:38 +0200 Subject: [PATCH] add VoteThinker hook --- leaderboard.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/leaderboard.lua b/leaderboard.lua index ed90b2f..a332efe 100644 --- a/leaderboard.lua +++ b/leaderboard.lua @@ -1304,6 +1304,7 @@ local function interThink() end end addHook("IntermissionThinker", interThink) +addHook("VoteThinker", interThink) -- Returns the values clamed between min, max function clamp(min_v, v, max_v)