Compare commits
No commits in common. "master" and "v1.1" have entirely different histories.
@ -10,7 +10,6 @@
|
||||
|
||||
ConVar g_cvarConfigName;
|
||||
bool g_bConfigLoaded = false;
|
||||
bool g_bBlocked = false;
|
||||
Handle g_reminder_timer;
|
||||
|
||||
public Plugin myinfo =
|
||||
@ -73,7 +72,6 @@ public void OnMapEnd()
|
||||
{
|
||||
KillTimer(g_reminder_timer);
|
||||
g_bConfigLoaded = false;
|
||||
g_bBlocked = false;
|
||||
g_cvarConfigName.SetString("NULL");
|
||||
PrintToServer("[AUTOCONFIG] Config Loaded FALSE");
|
||||
PrintToServer("[AUTOCONFIG] Blocking Match Start");
|
||||
@ -97,16 +95,14 @@ Action PostReminder(Handle timer, any data)
|
||||
|
||||
Action BlockStart(Event event, const char[] name, bool dontBroadcast)
|
||||
{
|
||||
if (g_bConfigLoaded || g_bBlocked)
|
||||
if (g_bConfigLoaded)
|
||||
{
|
||||
KillTimer(g_reminder_timer);
|
||||
PrintToServer("[AUTOCONFIG] Match started, going silent.");
|
||||
return Plugin_Continue;
|
||||
}
|
||||
g_bBlocked = true;
|
||||
ServerCommand("mp_tournament_restart");
|
||||
CPrintToChatAll("{yellow}Bad rollout! {default}(Did you forget to exec?)");
|
||||
CPrintToChatAll("{default} RUP again to ignore warning");
|
||||
PrintToServer("[AUTOCONFIG] Match start blocked due to no config");
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user