1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +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

@ -140,7 +140,7 @@ void MapViewController::modifyTileSize(int stepsChange, bool useDeadZone)
if (adventureContext)
{
Settings tileZoom = persistentStorage.write["tileZoom"];
Settings tileZoom = settings.write["adventure"]["tileZoom"];
tileZoom->Integer() = actualZoom.x;
}
}