arreglos en stats.cpp
This commit is contained in:
1 parent
dc1470ec0e
commit
8dcc1d282a
5 files changed
+46
-64
No files matched your search
@@ -914,14 +914,8 @@ void Game::checkRestoringJail(float delta_time) {
|
||||
}
|
||||
}
|
||||
|
||||
// Inicializa el diccionario de las estadísticas
|
||||
// Inicializa las estadísticas
|
||||
void Game::initStats() { // NOLINT(readability-convert-member-functions-to-static)
|
||||
auto list = Resource::Cache::get()->getRooms();
|
||||
|
||||
for (const auto& room : list) {
|
||||
stats_->addDictionary(room.room->number, room.room->name);
|
||||
}
|
||||
|
||||
stats_->init();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user