Fixing coord bug

This commit is contained in:
hz
2026-03-13 13:14:30 -05:00
parent d615527dcc
commit c296ebc9cb
4 changed files with 14 additions and 6 deletions
@@ -85,7 +85,7 @@ public class CharacterStore
var update = Builders<VisibleLocation>.Update
.SetOnInsert(l => l.Name, DefaultLocationName(x, y))
.SetOnInsert(l => l.Coord, new Coord { X = x, Y = y })
.SetOnInsert(l => l.Coord, new LocationCoord { X = x, Y = y })
.SetOnInsert(l => l.Id, ObjectId.GenerateNewId().ToString())
.SetOnInsert("createdUtc", DateTime.UtcNow);