1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

fix stat controller build plugins in correct mode

This commit is contained in:
RaidMax
2019-12-03 16:27:26 -06:00
parent 1e69cf85b6
commit b5e618ecbc
2 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,7 @@ namespace IW4MAdmin.Plugins.Web.StatsWeb.Controllers
.FirstOrDefaultAsync(_penalty => _penalty.PenaltyId == penaltyId);
// todo: this can be optimized
var iqSnapshotInfo = ctx.Set<Models.EFACSnapshot>()
var iqSnapshotInfo = ctx.Set<Stats.Models.EFACSnapshot>()
.Where(s => s.ClientId == penalty.OffenderId)
.Include(s => s.LastStrainAngle)
.Include(s => s.HitOrigin)