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:
@ -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
|
||||
|
Reference in New Issue
Block a user