1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

use settings instead of persistentStorage

This commit is contained in:
Laserlicht
2025-02-22 20:34:13 +01:00
parent a6a6b8c69c
commit 52f7caa0e4
4 changed files with 15 additions and 6 deletions

View File

@ -211,7 +211,7 @@ void MapView::onViewMapActivated()
{
controller->activateAdventureContext();
int zoom = persistentStorage["tileZoom"].Integer();
int zoom = settings["adventure"]["tileZoom"].Integer();
if(zoom)
controller->setTileSize(Point(zoom, zoom));
else