diff --git a/mapchooser_extended/scripting/mapchooser_extended_avg_mapend.sp b/mapchooser_extended/scripting/mapchooser_extended_avg_mapend.sp index 0db81270..bb601c42 100755 --- a/mapchooser_extended/scripting/mapchooser_extended_avg_mapend.sp +++ b/mapchooser_extended/scripting/mapchooser_extended_avg_mapend.sp @@ -983,6 +983,11 @@ public Action CS_OnTerminateRound(float &delay, CSRoundEndReason &reason) int total_time = (GetConVarInt(g_Cvar_VoteDuration) * 2) + GetConVarInt(g_Cvar_RunOffWarningTime) + 10; if (!g_IniatedLastVote) { + if (IsVoteInProgress()) //fucking admins being brain dead doing extend votes right when the map ends. + { + PrintToChatAll("The admin slept on the job again. Should had made that extend vote 2-3 minutes before the timeleft ran out instead of panic extend voting the last second possible."); + CancelVote(); + } g_IniatedLastVote = true; CreateTimer(float(total_time + 10), Timer_fall_back_map_switch, INVALID_HANDLE, TIMER_FLAG_NO_MAPCHANGE); //sometimes it will simply happen that theres a mapvote where nobody votes anything.