From 0fcd995eae50c75a42135703a4972685760ede36 Mon Sep 17 00:00:00 2001 From: snuzzle Date: Tue, 7 Jul 2026 15:35:15 +0200 Subject: [PATCH 1/2] fix --- scripts/map/MapCache.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/map/MapCache.cs b/scripts/map/MapCache.cs index d5640207..15a6bc4b 100644 --- a/scripts/map/MapCache.cs +++ b/scripts/map/MapCache.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; @@ -94,6 +94,7 @@ private static void syncFiles(string[] files) newMap.Id = map.Id; newMap.Hash = checksum; + newMap.Favorite = map.Favorite DatabaseService.Connection.Update(newMap); InsertIntoMapCacheFolder(map); From f8b727d77bd4815f3f5191b835230b405559b8f9 Mon Sep 17 00:00:00 2001 From: snuzzle Date: Tue, 7 Jul 2026 15:38:11 +0200 Subject: [PATCH 2/2] forgot ; --- scripts/map/MapCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/map/MapCache.cs b/scripts/map/MapCache.cs index 15a6bc4b..676eeef8 100644 --- a/scripts/map/MapCache.cs +++ b/scripts/map/MapCache.cs @@ -94,7 +94,7 @@ private static void syncFiles(string[] files) newMap.Id = map.Id; newMap.Hash = checksum; - newMap.Favorite = map.Favorite + newMap.Favorite = map.Favorite; DatabaseService.Connection.Update(newMap); InsertIntoMapCacheFolder(map);