mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
code review
This commit is contained in:
@ -193,7 +193,7 @@ void CPlayerInterface::playerStartsTurn(PlayerColor player)
|
||||
|
||||
void CPlayerInterface::performAutosave()
|
||||
{
|
||||
std::string id = cb->getStartInfo()->uuid.substr(0, 8);
|
||||
std::string id = cb->getStartInfo()->gameUuid.substr(0, 8);
|
||||
|
||||
int frequency = static_cast<int>(settings["general"]["saveFrequency"].Integer());
|
||||
if(frequency > 0 && cb->getDate() % frequency == 0)
|
||||
|
Reference in New Issue
Block a user