SaveTool: bump max credits for editor.

This commit is contained in:
Guillaume Jacquemin 2021-07-10 16:47:18 +02:00
parent 476eb2b1e6
commit 69d4484c91

View file

@ -251,7 +251,7 @@ void SaveTool::drawGeneralInfo() {
credits = _currentProfile->credits(); credits = _currentProfile->credits();
ImGui::OpenPopup("int_edit"); ImGui::OpenPopup("int_edit");
} }
if(drawIntEditPopup(&credits, 2000000)) { if(drawIntEditPopup(&credits, 20000000)) {
if(!_currentProfile->setCredits(credits)) { if(!_currentProfile->setCredits(credits)) {
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Error", SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Error",
_currentProfile->lastError().c_str(), window()); _currentProfile->lastError().c_str(), window());