@@ -332,20 +332,24 @@ static void InitRogueLikeGUI() {
332332 SohGui::mSohMenu ->AddSidebarEntry (" RogueLike" , " Configuration" , 1 );
333333 WidgetPath path = { " RogueLike" , " Configuration" , SECTION_COLUMN_1 };
334334 SohGui::mSohMenu ->AddWidget (path, " Configuration" , WIDGET_CUSTOM ).CustomFunction ([](WidgetInfo& info) {
335-
336335 if (UIWidgets::Button (" Add XP Level" , UIWidgets::ButtonOptions ().Size (UIWidgets::Sizes::Inline))) {
337- RogueLike::XP::GrantXP (RogueLike::XP::ConvertLevelToXP (RogueLike::XP::GetCurrentLevel () + 1 ) - gSaveContext .ship .quest .data .rogueLike .xp + 1 );
336+ RogueLike::XP::GrantXP (RogueLike::XP::ConvertLevelToXP (RogueLike::XP::GetCurrentLevel () + 1 ) -
337+ gSaveContext .ship .quest .data .rogueLike .xp + 1 );
338338 }
339339 ImGui::SameLine ();
340340 if (UIWidgets::Button (" Remove XP Level" , UIWidgets::ButtonOptions ().Size (UIWidgets::Sizes::Inline))) {
341- gSaveContext .ship .quest .data .rogueLike .xp = RogueLike::XP::ConvertLevelToXP (RogueLike::XP::GetCurrentLevel () - 1 );
341+ gSaveContext .ship .quest .data .rogueLike .xp =
342+ RogueLike::XP::ConvertLevelToXP (RogueLike::XP::GetCurrentLevel () - 1 );
342343 }
343344 if (UIWidgets::Button (" Add Difficulty Level" , UIWidgets::ButtonOptions ().Size (UIWidgets::Sizes::Inline))) {
344- RogueLike::Difficulty::IncrementDifficulty (RogueLike::Difficulty::ConvertLevelToDifficulty (RogueLike::Difficulty::GetCurrentLevel () + 1 ) - gSaveContext .ship .quest .data .rogueLike .difficulty + 1 );
345+ RogueLike::Difficulty::IncrementDifficulty (
346+ RogueLike::Difficulty::ConvertLevelToDifficulty (RogueLike::Difficulty::GetCurrentLevel () + 1 ) -
347+ gSaveContext .ship .quest .data .rogueLike .difficulty + 1 );
345348 }
346349 ImGui::SameLine ();
347350 if (UIWidgets::Button (" Remove Difficulty Level" , UIWidgets::ButtonOptions ().Size (UIWidgets::Sizes::Inline))) {
348- gSaveContext .ship .quest .data .rogueLike .difficulty = RogueLike::Difficulty::ConvertLevelToDifficulty (RogueLike::Difficulty::GetCurrentLevel () - 1 );
351+ gSaveContext .ship .quest .data .rogueLike .difficulty =
352+ RogueLike::Difficulty::ConvertLevelToDifficulty (RogueLike::Difficulty::GetCurrentLevel () - 1 );
349353 }
350354
351355 if (UIWidgets::Button (" Reset All" , UIWidgets::ButtonOptions ().Size (UIWidgets::Sizes::Inline))) {
0 commit comments