diff --git a/Jupiter/GenericCommand.cpp b/Jupiter/GenericCommand.cpp index aae48a7..f63ce27 100644 --- a/Jupiter/GenericCommand.cpp +++ b/Jupiter/GenericCommand.cpp @@ -43,7 +43,7 @@ Jupiter::GenericCommand::GenericCommand() Jupiter::GenericCommand::~GenericCommand() { // Inform the parent - if (GenericCommand::m_parent == nullptr) + if (GenericCommand::m_parent != nullptr) GenericCommand::m_parent->removeCommand(*this); // Notify plugins diff --git a/Jupiter/Plugin.cpp b/Jupiter/Plugin.cpp index cdd6287..5789540 100644 --- a/Jupiter/Plugin.cpp +++ b/Jupiter/Plugin.cpp @@ -81,7 +81,6 @@ Jupiter::ArrayList _libList; Jupiter::Plugin::Plugin() { - Jupiter::Plugin::config.readFile(Jupiter::Plugin::name); } Jupiter::Plugin::~Plugin() diff --git a/Release/Jupiter.lib b/Release/Jupiter.lib index 7733484..97449c6 100644 Binary files a/Release/Jupiter.lib and b/Release/Jupiter.lib differ