From 98696cf0ab8cb97a38205626d44e70870abb51b0 Mon Sep 17 00:00:00 2001 From: l-Aad-l <7024626+l-Aad-l@users.noreply.github.com> Date: Wed, 13 Jan 2021 02:08:00 -0500 Subject: [PATCH] removed unnecessary sv_shutdown --- addons/sourcemod/scripting/rglqol.sp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/addons/sourcemod/scripting/rglqol.sp b/addons/sourcemod/scripting/rglqol.sp index b4a483f..5662aad 100644 --- a/addons/sourcemod/scripting/rglqol.sp +++ b/addons/sourcemod/scripting/rglqol.sp @@ -5,7 +5,7 @@ #include #define PLUGIN_NAME "RGL.gg QoL Tweaks" -#define PLUGIN_VERSION "1.4.1" +#define PLUGIN_VERSION "1.4.2" bool:CfgExecuted; bool:alreadyChanging; @@ -129,15 +129,6 @@ public Action checkStuff(Handle timer) LogMessage("[RGLQoL] STV is currently live! Not restarting."); return; } - // restarts the server if it is empty - else - { - LogMessage("[RGLQoL] Server empty. Issuing sv_shutdown."); - // set the server to never shut down here unless it's FULLY empty with this convar... - SetConVarInt(FindConVar("sv_shutdown_timeout_minutes"), 0, false); - // ...and actually send an sv_shutdown. if MY player-on-server logic somehow fails...tf2's HOPEFULLY shouldn't - ServerCommand("sv_shutdown"); - } } public OnRGLChanged(ConVar convar, char[] oldValue, char[] newValue)