Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
plally committed Dec 11, 2024
1 parent 79c93f9 commit 83a346f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/mapvote/client/modules/map_vote.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 83a346f

Please sign in to comment.