hopefully that stops the scoreboard from blocking people from participating in the vote
This commit is contained in:
parent
e3a85e1b65
commit
4914461539
@ -404,6 +404,9 @@ public void OnPluginStart()
|
|||||||
|
|
||||||
HookEvent("player_death", Event_PlayerDeath);
|
HookEvent("player_death", Event_PlayerDeath);
|
||||||
|
|
||||||
|
//2026 edit: block cs_win_panel_match from triggering on Intermission so that people dont get stuck with a scoreboard they cant close.
|
||||||
|
HookEvent("cs_win_panel_match", Event_BlockWinPanel, EventHookMode_Pre);
|
||||||
|
|
||||||
AutoExecConfig(true, "mapchooser_extended");
|
AutoExecConfig(true, "mapchooser_extended");
|
||||||
|
|
||||||
//Change the mp_bonusroundtime max so that we have time to display the vote
|
//Change the mp_bonusroundtime max so that we have time to display the vote
|
||||||
@ -1173,6 +1176,11 @@ public void CheckMaxRounds(int roundcount)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Action Event_BlockWinPanel(Event event, const char[] name, bool dontBroadcast)
|
||||||
|
{
|
||||||
|
return Plugin_Handled;
|
||||||
|
}
|
||||||
|
|
||||||
public Action Event_PlayerDeath(Handle event, const char[] name, bool dontBroadcast)
|
public Action Event_PlayerDeath(Handle event, const char[] name, bool dontBroadcast)
|
||||||
{
|
{
|
||||||
if(!GetArraySize(g_MapList) || g_HasVoteStarted)
|
if(!GetArraySize(g_MapList) || g_HasVoteStarted)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user