diff --git a/NorthstarDLL/NorthstarDLL.vcxproj b/NorthstarDLL/NorthstarDLL.vcxproj index 9e3d6803c..8f5e27cfe 100644 --- a/NorthstarDLL/NorthstarDLL.vcxproj +++ b/NorthstarDLL/NorthstarDLL.vcxproj @@ -140,7 +140,8 @@ - IF EXIST "$(SolutionDir)..\NorthstarCN_Binaries\Northstar.dll" del "$(SolutionDir)..\NorthstarCN_Binaries\Northstar.dll" && copy /Y "$(TargetPath)" "$(SolutionDir)..\NorthstarCN_Binaries\ + IF EXIST "$(SolutionDir)..\NorthstarCN_Binaries_Dedicated\Northstar.dll" del "$(SolutionDir)..\NorthstarCN_Binaries_Dedicated\Northstar.dll" && copy /Y "$(TargetPath)" "$(SolutionDir)..\NorthstarCN_Binaries_Dedicated\ +IF EXIST "$(SolutionDir)..\NorthstarCN_Binaries\Northstar.dll" del "$(SolutionDir)..\NorthstarCN_Binaries\Northstar.dll" && copy /Y "$(TargetPath)" "$(SolutionDir)..\NorthstarCN_Binaries\ diff --git a/NorthstarDLL/client/imgui.cpp b/NorthstarDLL/client/imgui.cpp index dcee555ec..b5e20a91c 100644 --- a/NorthstarDLL/client/imgui.cpp +++ b/NorthstarDLL/client/imgui.cpp @@ -147,11 +147,12 @@ void imgui_add_draw(imgui_draw* func) void imgui_setup() { // ImGui::GetAllocatorFunctions(imgui_malloc, (ImGuiMemFreeFunc*)imgui_free, nullptr); - if (!strstr(GetCommandLineA(), "-enableimgui")) + if (strstr(GetCommandLineA(), "-disableimgui")) { - spdlog::info("[IMGUI] IMGUI is Disabled! use argument -enableimgui for advanced status display!"); + spdlog::info("[IMGUI] IMGUI is disabled!"); return; } + spdlog::info("[IMGUI] IMGUI is enabled! use argument -disableimgui if you find any compatibility issues!"); std::jthread setup_thread(setup_thread_func); setup_thread.detach(); }