mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-19 00:17:56 +02:00
End turn autosave support + making it default
This commit is contained in:
@ -418,6 +418,12 @@ void AdventureMapInterface::hotkeyEndingTurn()
|
||||
|
||||
LOCPLINT->makingTurn = false;
|
||||
LOCPLINT->cb->endTurn();
|
||||
|
||||
if(!settings["general"]["startTurnAutosave"].Bool())
|
||||
{
|
||||
LOCPLINT->performAutosave();
|
||||
}
|
||||
|
||||
mapAudio->onPlayerTurnEnded();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user