Skip to content

Commit

Permalink
Fix Spawnpoint Test Fail (#1505)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyyapril authored Jan 12, 2025
1 parent 7de438e commit 80ff268
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Content.IntegrationTests/Tests/PostMapInitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ await server.WaitPost(() =>
// This is done inside gamemap test because loading the map takes ages and we already have it.
var spawnPoints = entManager.EntityQuery<SpawnPointComponent>()
.Where(x => x.SpawnType == SpawnPointType.Job)
.Where(x => x.Job!.JobEntity == null)
.Select(x => x.Job!.ID);

jobs.ExceptWith(spawnPoints);
Expand Down

0 comments on commit 80ff268

Please sign in to comment.