mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-13 08:41:27 +00:00
Fix LBP2 recently played for story levels
This commit is contained in:
parent
57981960b6
commit
ab98da42c3
2 changed files with 3 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class SlotsController : ControllerBase
|
|||
{
|
||||
slots.Add(new GameDeveloperSlot
|
||||
{
|
||||
SlotId = slotId,
|
||||
InternalSlotId = slotId,
|
||||
});
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -32,6 +32,8 @@ public class GameDeveloperSlot : SlotBase, INeedsPreparationForSerialization
|
|||
|
||||
public async Task PrepareSerialization(DatabaseContext database)
|
||||
{
|
||||
if (this.SlotId == 0 || this.InternalSlotId == 0) return;
|
||||
|
||||
var stats = await database.Slots.Where(s => s.SlotId == this.SlotId)
|
||||
.Select(_ => new
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue