File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -219,8 +219,8 @@ class $modify(MyEndLevelLayer, EndLevelLayer) {
219219
220220 if (!attemptLabel || !jumpsLabel) return ;
221221
222- const std::string& totalAttemptsString = fmt::format (std::locale (" en_US.UTF-8" ), " {:L}" , level->m_attempts ).c_str ();
223- const std::string& totalJumpsString = fmt::format (std::locale (" en_US.UTF-8" ), " {:L}" , level->m_jumps ).c_str ();
222+ const std::string& totalAttemptsString = fmt::format (std::locale (" en_US.UTF-8" ), " {:L}" , level->m_attempts . value () ).c_str ();
223+ const std::string& totalJumpsString = fmt::format (std::locale (" en_US.UTF-8" ), " {:L}" , level->m_jumps . value () ).c_str ();
224224 if (showTotalAttemptsAndJumps == " fully replace" ) {
225225 attemptLabel->setString (fmt::format (std::locale (" en_US.UTF-8" ), " Total Attempts: {}" , totalAttemptsString).c_str ());
226226 jumpsLabel->setString (fmt::format (std::locale (" en_US.UTF-8" ), " Total Jumps: {}" , totalJumpsString).c_str ());
You can’t perform that action at this time.
0 commit comments