From 96ee05b5aa152e6638ab56434ba9acb14b86b941 Mon Sep 17 00:00:00 2001 From: rtldg <55846624+rtldg@users.noreply.github.com> Date: Thu, 11 Mar 2021 08:20:18 +0000 Subject: [PATCH] add sm_main/sm_m --- addons/sourcemod/scripting/shavit-core.sp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/sourcemod/scripting/shavit-core.sp b/addons/sourcemod/scripting/shavit-core.sp index 50bea2d5..db022018 100644 --- a/addons/sourcemod/scripting/shavit-core.sp +++ b/addons/sourcemod/scripting/shavit-core.sp @@ -322,6 +322,8 @@ public void OnPluginStart() RegConsoleCmd("sm_start", Command_StartTimer, "Start your timer."); RegConsoleCmd("sm_r", Command_StartTimer, "Start your timer."); RegConsoleCmd("sm_restart", Command_StartTimer, "Start your timer."); + RegConsoleCmd("sm_m", Command_StartTimer, "Start your timer on the main track."); + RegConsoleCmd("sm_main", Command_StartTimer, "Start your timer on the main track."); RegConsoleCmd("sm_b", Command_StartTimer, "Start your timer on the bonus track."); RegConsoleCmd("sm_bonus", Command_StartTimer, "Start your timer on the bonus track."); @@ -636,7 +638,7 @@ public Action Command_StartTimer(int client, int args) track = Track_Bonus; } } - else if(StrContains(sCommand, "sm_r", false) == 0) + else if(StrContains(sCommand, "sm_r", false) == 0 || StrContains(sCommand, "sm_s", false) == 0) { track = gA_Timers[client].iTrack; }