mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 00:18:39 +00:00
Fix serialization of story levels
This commit is contained in:
parent
e43397ac6a
commit
57981960b6
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ public class GameDeveloperSlot : SlotBase, INeedsPreparationForSerialization
|
|||
|
||||
public async Task PrepareSerialization(DatabaseContext database)
|
||||
{
|
||||
var stats = await database.Slots.Where(s => s.SlotId == this.InternalSlotId)
|
||||
var stats = await database.Slots.Where(s => s.SlotId == this.SlotId)
|
||||
.Select(_ => new
|
||||
{
|
||||
CommentCount = database.Comments.Count(c => c.TargetId == this.SlotId && c.Type == CommentType.Level),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue