diff --git a/src/gui/newSong.cpp b/src/gui/newSong.cpp index d6188b3e..06aeb4bd 100644 --- a/src/gui/newSong.cpp +++ b/src/gui/newSong.cpp @@ -70,6 +70,14 @@ void FurnaceGUI::drawNewSong() { ImGui::CloseCurrentPopup(); } + ImGui::SameLine(); + + if (ImGui::Button("I'm feeling lucky")) { + FurnaceGUISysCategory* newSystemCat=&sysCategories[rand()%sysCategories.size()]; + nextDesc=newSystemCat->systems[rand()%newSystemCat->systems.size()].definition.data(); + accepted=true; + } + if (accepted) { e->createNew(nextDesc); undoHist.clear();