OSDN Git Service

Removed client command - as GUI handles this.
authormelchior <melchior@users.osdn.me>
Wed, 3 Jun 2020 23:18:40 +0000 (19:18 -0400)
committermelchior <melchior@users.osdn.me>
Wed, 3 Jun 2020 23:18:40 +0000 (19:18 -0400)
Automap/Subsystems/AutomapSystem.cs

index 842a68a..8bbb0c1 100644 (file)
@@ -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)
                        {