From c5d0d6e089a1e856c7ea576b1e81095df14e3f67 Mon Sep 17 00:00:00 2001 From: William JCM Date: Sat, 10 Jul 2021 16:52:11 +0200 Subject: [PATCH] SaveTool: reduce max materials to 9999. For some reason, the game clamps them to that after a mission. --- src/SaveTool/SaveTool_MainManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SaveTool/SaveTool_MainManager.cpp b/src/SaveTool/SaveTool_MainManager.cpp index e558288..71d967e 100644 --- a/src/SaveTool/SaveTool_MainManager.cpp +++ b/src/SaveTool/SaveTool_MainManager.cpp @@ -322,7 +322,7 @@ void SaveTool::drawResearchInventory() { (var) = _currentProfile->getter(); \ ImGui::OpenPopup("int_edit"); \ } \ - if(drawIntEditPopup(&(var), 10000)) { \ + if(drawIntEditPopup(&(var), 9999)) { \ if(!_currentProfile->set##setter((var))) { \ SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Error", \ _currentProfile->lastError().c_str(), window()); \