diff --git a/mapchooser_extended/scripting/mapchooser_extended.sp b/mapchooser_extended/scripting/mapchooser_extended.sp index a79fcdf..e0b28a8 100644 --- a/mapchooser_extended/scripting/mapchooser_extended.sp +++ b/mapchooser_extended/scripting/mapchooser_extended.sp @@ -849,6 +849,18 @@ public void Event_WeaponRank(Handle event, const char[] name, bool dontBroadcast /* You ask, why don't you just use team_score event? And I answer... Because CSS doesn't. */ public void Event_RoundEnd(Handle event, const char[] name, bool dontBroadcast) { + int timeleft; + GetMapTimeLeft(timeleft); + + if(timeleft <= 0 || g_ChangeMapAtRoundEnd) + { + char map[32]; + GetNextMap(map, sizeof(map)); + PrintToChatAll("[MCE] Next Map: %s", map); + PrintToChatAll("[MCE] Next Map: %s", map); + PrintToChatAll("[MCE] Next Map: %s", map); + } + if(g_RoundCounting == RoundCounting_ArmsRace) return;