Skip to content

Commit

Permalink
delay round end rtv print
Browse files Browse the repository at this point in the history
  • Loading branch information
plally committed Feb 2, 2024
1 parent 5a3d554 commit 41578da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lua/mapvote/client/modules/net.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ net.Receive( "MapVote_VoteCancelled", function()
end )

net.Receive( "RTV_Delay", function()
chat.AddText( Color( 102, 255, 51 ), "[RTV]", Color( 255, 255, 255 ),
" The vote has been rocked, map vote will begin on round end" )
timer.Simple( 0.2, function()
chat.AddText( Color( 102, 255, 51 ), "[RTV]", Color( 255, 255, 255 ),
" The vote has been rocked, map vote will begin on round end" )
end )
end )


Expand Down

0 comments on commit 41578da

Please sign in to comment.