prevod
This commit is contained in:
@@ -15,7 +15,7 @@ namespace {
|
||||
void writeFinalScoreFile(int score) {
|
||||
std::ofstream file("score.txt", std::ios::trunc);
|
||||
if (!file.is_open()) {
|
||||
WARN("Failed to open score.txt for writing");
|
||||
WARN("Neuspešno odpiranje score.txt za pisanje");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -314,7 +314,7 @@ namespace Game::AGame {
|
||||
} else if (!GameManager::getSharedData<bool>("gameWon")) {
|
||||
writeFinalScoreFile(GameManager::getSharedData<int>("gameScore"));
|
||||
GameManager::setSharedData("gameWon", true);
|
||||
LOG("All levels cleared");
|
||||
LOG("Vsi nivoji so zaključeni");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user