From 354b2bb20acf06e5a19ab832ef714d6658c2f1a6 Mon Sep 17 00:00:00 2001 From: melchior Date: Wed, 3 Jun 2020 19:18:40 -0400 Subject: [PATCH] Removed client command - as GUI handles this. --- Automap/Subsystems/AutomapSystem.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Automap/Subsystems/AutomapSystem.cs b/Automap/Subsystems/AutomapSystem.cs index 842a68a..8bbb0c1 100644 --- a/Automap/Subsystems/AutomapSystem.cs +++ b/Automap/Subsystems/AutomapSystem.cs @@ -79,8 +79,7 @@ namespace Automap //Listen on bus for commands ClientAPI.Event.RegisterEventBusListener(CommandListener, 1.0, AutomapSystem.AutomapCommandEventKey); - //TODO: recreate as GUI button! - ClientAPI.RegisterCommand("snapshot", "", "", (id, args) => CurrentState = CommandType.Snapshot); + if (configuration.Autostart) { -- 2.11.0