From 83a346f32f9e511c38c0683e2db75e5fe679b88d Mon Sep 17 00:00:00 2001 From: Pierce Date: Tue, 10 Dec 2024 21:42:22 -0500 Subject: [PATCH] remove unused var --- lua/mapvote/client/modules/map_vote.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/mapvote/client/modules/map_vote.lua b/lua/mapvote/client/modules/map_vote.lua index 1c990eb..f7b0c78 100644 --- a/lua/mapvote/client/modules/map_vote.lua +++ b/lua/mapvote/client/modules/map_vote.lua @@ -115,7 +115,7 @@ hook.Add( "Tick", "MapVote_RequestState", function() end ) gameevent.Listen( "player_disconnect" ) -hook.Add( "player_disconnect", "MapVote_RemoveVote", function( _data ) +hook.Add( "player_disconnect", "MapVote_RemoveVote", function() if not IsValid( MapVote.Panel ) then return end MapVote.Panel.voteArea:RemoveInvalidVotes()