summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gamemode/init.lua14
1 files changed, 13 insertions, 1 deletions
diff --git a/gamemode/init.lua b/gamemode/init.lua
index 55d98eb..1d1c3c0 100644
--- a/gamemode/init.lua
+++ b/gamemode/init.lua
@@ -1532,7 +1532,19 @@ function GM:EndGame( winner )
end
- timer.Simple( GetConVar( "sv_redead_post_game_time" ):GetInt(), function() game.LoadNextMap() end )
+ timer.Simple( GetConVar( "sv_redead_post_game_time" ):GetInt(), function()
+ if(MapVote && MapVote.Start) then
+ MapVote.Start(10,false,5,"")
+ else
+ print("Mapvote:")
+ print(MapVote)
+ if(MapVote != nil) then
+ print("Mapvote.Start:")
+ print(MapVote.Start)
+ end
+ game.LoadNextMap()
+ end
+ end )
end