From: melchior Date: Wed, 3 Jun 2020 23:18:40 +0000 (-0400) Subject: Removed client command - as GUI handles this. X-Git-Tag: PR7x~1 X-Git-Url: http://git.osdn.net/view?p=automap%2Fautomap.git;a=commitdiff_plain;h=354b2bb20acf06e5a19ab832ef714d6658c2f1a6 Removed client command - as GUI handles this. --- 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) {