fixed load and overlay flow, missing sync
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9abe30904f
commit
db41143312
10 changed files with 51 additions and 19 deletions
|
@ -20,7 +20,7 @@ namespace Sledgemapper.Api.Commands
|
|||
Snapshot snapshot;
|
||||
double timestamp;
|
||||
Shared.Entities.Session mapSession;
|
||||
var session = _dbcontext.Sessions.First(m => m.SessionName == notification.SessionName);
|
||||
var session = _dbcontext.Sessions.First(m => m.SessionId == notification.MapId);
|
||||
snapshot = _dbcontext.Snapshots.OrderByDescending(s => s.Timestamp).FirstOrDefault(m => m.SessionId == session.SessionId);
|
||||
if (snapshot is null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue