diff options
Diffstat (limited to 'gamemode')
| -rw-r--r-- | gamemode/init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gamemode/init.lua b/gamemode/init.lua index 1d1c3c0..400e4a1 100644 --- a/gamemode/init.lua +++ b/gamemode/init.lua @@ -1534,7 +1534,9 @@ function GM:EndGame( winner ) timer.Simple( GetConVar( "sv_redead_post_game_time" ):GetInt(), function() if(MapVote && MapVote.Start) then - MapVote.Start(10,false,5,"") + local maps = {} + files,dirs = file.Find("maps/*.bsp","MOD") + MapVote.Start(20,false,5,files) else print("Mapvote:") print(MapVote) |
