Skip to content

Commit e8535fb

Browse files
fix: update map grid cache when editing maps (#2186)
1 parent 5f02189 commit e8535fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Intersect.Server.Core/Maps/MapGrid.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System.Diagnostics.Contracts;
1+
using System.Diagnostics.Contracts;
22
using Intersect.Server.Database;
33

44
using Newtonsoft.Json.Linq;
@@ -74,6 +74,7 @@ public MapGrid(Guid startMapId, int index)
7474
map.MapGrid = index;
7575
map.MapGridX = (int)x;
7676
map.MapGridY = (int)y;
77+
map.CachedMapClientPacket = default;
7778
mapIds.Remove(mapId);
7879
break;
7980
}

0 commit comments

Comments
 (0)