From 74adae2a8cc6a7a83431ac0d8d826e514bc16493 Mon Sep 17 00:00:00 2001 From: Beu Date: Mon, 28 Aug 2023 01:35:15 +0200 Subject: [PATCH] prevent to switch to tab when addind or removing bots --- TM_DebugMode.Script.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/TM_DebugMode.Script.txt b/TM_DebugMode.Script.txt index bbf8a05..0af5cf7 100644 --- a/TM_DebugMode.Script.txt +++ b/TM_DebugMode.Script.txt @@ -747,13 +747,9 @@ main() { } if (TL::StartsWith("quad-bots-delbots-", Event.Control.ControlId)) { SendCustomEvent("DebugMode.Bots.DelBots", [Entry_Bots_Name.Value, TL::Split("-",Event.Control.ControlId)[3]]); - SwitchToTab(P_DebugMode_SelectedTab, "quad-leftpanel-logs"); - P_DebugMode_SelectedTab = "quad-leftpanel-logs"; } if (TL::StartsWith("quad-bots-addbots-", Event.Control.ControlId)) { SendCustomEvent("DebugMode.Bots.AddBots", [Entry_Bots_Name.Value, Entry_Bots_TeamId.Value, TL::Split("-",Event.Control.ControlId)[3]]); - SwitchToTab(P_DebugMode_SelectedTab, "quad-leftpanel-logs"); - P_DebugMode_SelectedTab = "quad-leftpanel-logs"; } if (TL::StartsWith("quad-playerscontrol-player-", Event.Control.ControlId)) { declare Text Target = TL::Split("-",Event.Control.ControlId)[3];