mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
rework
This commit is contained in:
@@ -676,10 +676,7 @@ void CGameHandler::addStatistics()
|
||||
if (elem.first == PlayerColor::NEUTRAL || !elem.first.isValidPlayer())
|
||||
continue;
|
||||
|
||||
StatisticDataSetEntry data;
|
||||
|
||||
data.day = getDate(Date::DAY);
|
||||
data.player = elem.first;
|
||||
auto data = StatisticDataSet::createEntry(&elem.second, gs);
|
||||
|
||||
gameState()->statistic.add(data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user