From d8c36923d9a78f5416dad42a38d8a214395c50d6 Mon Sep 17 00:00:00 2001 From: Slendy Date: Tue, 11 Apr 2023 20:27:43 -0500 Subject: [PATCH] Fix deserialized PhotoSubject bounds not being set in database entity --- .../Controllers/Resources/PhotosController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ProjectLighthouse.Servers.GameServer/Controllers/Resources/PhotosController.cs b/ProjectLighthouse.Servers.GameServer/Controllers/Resources/PhotosController.cs index e9f18638..9aa60bed 100644 --- a/ProjectLighthouse.Servers.GameServer/Controllers/Resources/PhotosController.cs +++ b/ProjectLighthouse.Servers.GameServer/Controllers/Resources/PhotosController.cs @@ -134,6 +134,7 @@ public class PhotosController : ControllerBase { PhotoId = photoEntity.PhotoId, UserId = subject.UserId, + Bounds = subject.Bounds, }; Logger.Debug($"Adding PhotoSubject (userid {subject.UserId}) to db", LogArea.Photos);