don't create the unused manipulator/ directory

develop
myk002 2022-06-10 13:35:25 -07:00 committed by Myk
parent d12134d326
commit 1f38936723
1 changed files with 0 additions and 7 deletions

@ -53,8 +53,6 @@ REQUIRE_GLOBAL(ui);
REQUIRE_GLOBAL(gps); REQUIRE_GLOBAL(gps);
REQUIRE_GLOBAL(enabler); REQUIRE_GLOBAL(enabler);
#define CONFIG_PATH "manipulator"
struct SkillLevel struct SkillLevel
{ {
const char *name; const char *name;
@ -2307,11 +2305,6 @@ DFhackCExport command_result plugin_enable(color_ostream &out, bool enable)
DFhackCExport command_result plugin_init ( color_ostream &out, vector <PluginCommand> &commands) DFhackCExport command_result plugin_init ( color_ostream &out, vector <PluginCommand> &commands)
{ {
if (!Filesystem::isdir(CONFIG_PATH) && !Filesystem::mkdir(CONFIG_PATH))
{
out.printerr("manipulator: Could not create configuration folder: \"%s\"\n", CONFIG_PATH);
return CR_FAILURE;
}
return CR_OK; return CR_OK;
} }