Skip to content

Commit

Permalink
Ignore assertion (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
GreaseMonk authored Mar 25, 2024
1 parent e3caf9f commit 084d359
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Content.Server/Procedural/DungeonJob.Generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ private async Task<Dungeon> GeneratePrefabDungeon(PrefabDunGen prefab, EntityUid
grid.SetTile(tilePos, fallbackTile);
}

var result = _decals.TryAddDecal(
// var result =
_decals.TryAddDecal(
decal.Id,
new EntityCoordinates(gridUid, position),
out _,
Expand All @@ -360,7 +361,10 @@ private async Task<Dungeon> GeneratePrefabDungeon(PrefabDunGen prefab, EntityUid
decal.ZIndex,
decal.Cleanable);

DebugTools.Assert(result);
// Frontier change
// We disable the assertion here because generation of spaceplatform stops prematurely since it has holes.
// Dont care if decals dont get placed because of holes, generation works fine if we ignore the assertion.
// DebugTools.Assert(result);
}
}

Expand Down

0 comments on commit 084d359

Please sign in to comment.