mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-19 00:17:56 +02:00
Statistics is now managed as part of CGameHandler
This commit is contained in:
@ -149,7 +149,7 @@ void PlayerMessageProcessor::commandStatistic(PlayerColor player, const std::vec
|
||||
if(!isHost)
|
||||
return;
|
||||
|
||||
std::string path = gameHandler->gameState().statistic.writeCsv();
|
||||
std::string path = gameHandler->statistics->writeCsv();
|
||||
|
||||
auto str = MetaString::createFromTextID("vcmi.broadcast.statisticFile");
|
||||
str.replaceRawString(path);
|
||||
|
Reference in New Issue
Block a user