arreglos en stats.cpp
This commit is contained in:
@@ -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