diff --git a/plugins/spectate.cpp b/plugins/spectate.cpp index d3b40c19b..d4274abe9 100644 --- a/plugins/spectate.cpp +++ b/plugins/spectate.cpp @@ -139,7 +139,6 @@ DFhackCExport command_result plugin_enable(color_ostream &out, bool enable) { } command_result spectate (color_ostream &out, std::vector & parameters) { - // todo: parse parameters if(!parameters.empty()) { if (parameters[0] == "auto-unpause") { dismiss_pause_events = !dismiss_pause_events; @@ -172,6 +171,8 @@ command_result spectate (color_ostream &out, std::vector & paramet out.print("If you want additional options open an issue on github, or mention it on discord.\n\n"); return DFHack::CR_WRONG_USAGE; } + } else if (parameters[0] == "disengage") { + //todo: cannibalize follow } else { return DFHack::CR_WRONG_USAGE; }