Les notificacions ara accepten un vector de cadenes en lloc de una o dos cadenes

This commit is contained in:
2024-11-03 18:12:46 +01:00
parent 69a92cba66
commit f29eb2f411
6 changed files with 61 additions and 75 deletions

View File

@@ -315,7 +315,7 @@ void Title::swapKeyboard()
{
swapOptionsKeyboard();
std::string text = lang::getText(100) + std::to_string(getPlayerWhoUsesKeyboard()) + ": " + lang::getText(69);
Notifier::get()->showText(text);
Notifier::get()->showText({text});
}
// Muestra información sobre los controles y los jugadores
@@ -343,5 +343,5 @@ void Title::showControllers()
}
}
Notifier::get()->showText(text.at(0), text.at(1));
Notifier::get()->showText({text.at(0), text.at(1)});
}