prevod
This commit is contained in:
@@ -20,7 +20,7 @@ int main() {
|
||||
PLNIMP("Letnik3Zadnja - Licenca: LGPLv2.1-only, CC BY-SA 4.0");
|
||||
// Prompt for player name before initializing the window/engine
|
||||
std::string playerName;
|
||||
std::cout << "Vnesi ime igralca (pritisni Enter za 'Igralec'): ";
|
||||
std::cout << "Vnesi uporabniško ime (pusti prazno za 'Igralec'): ";
|
||||
std::getline(std::cin, playerName);
|
||||
if (playerName.empty()) playerName = "Igralec";
|
||||
Game::GameManager::setSharedData<std::string>("playerName", playerName);
|
||||
|
||||
Reference in New Issue
Block a user