SaveTool: reduce max materials to 9999.

For some reason, the game clamps them to that after a mission.
This commit is contained in:
Guillaume Jacquemin 2021-07-10 16:52:11 +02:00
parent d7f991cd2e
commit c5d0d6e089
1 changed files with 1 additions and 1 deletions

View File

@ -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()); \