Skip to content

Commit 5279853

Browse files
committed
redo but smarter
1 parent ce14da0 commit 5279853

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ui/src/Menu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ void Menu::setupSafeModeNode(bool safeMode) {
145145

146146
auto infoBtn = Button::createWithSpriteFrameName(
147147
"GJ_infoIcon_001.png",
148-
[this](auto) {
148+
[safeMode](auto) {
149149
createQuickPopup(
150150
"Safe Mode",
151-
fmt::format("{}\nUsing this mod's features in gameplay <cr>can count as cheating</c>, be sure to <cl>keep Safe Mode enabled while using options in levels</c>.", m_impl->safeMode ? "Currently <cy>enabled</c>, meaning <co>progress on levels WILL NOT save</c>!" : "Currently <cy>disabled</c>, meaning <cc>progress on levels WILL save</c>!"),
151+
fmt::format("{}\nUsing this mod's features in gameplay <cr>can count as cheating</c>, be sure to <cl>keep Safe Mode enabled while using options in levels</c>.", safeMode ? "Currently <cy>enabled</c>, meaning <co>progress on levels WILL NOT save</c>!" : "Currently <cy>disabled</c>, meaning <cc>progress on levels WILL save</c>!"),
152152
"OK",
153153
nullptr,
154154
nullptr);

0 commit comments

Comments
 (0)