Revert biome rework (#38724)
* Revert "Fix world generation (#38713)" This reverts commit10fa6ff4af. * Revert "Biome rework (#37735)" This reverts commitfe7b96147c.
This commit is contained in:
committed by
GitHub
parent
047a49a505
commit
e99fc501a6
@@ -105,9 +105,7 @@ public sealed partial class DungeonJob
|
||||
if (reservedTiles.Contains(neighbor))
|
||||
continue;
|
||||
|
||||
var tileVariant = _tile.GetVariantTile((ContentTileDefinition)tileDef, random);
|
||||
tiles.Add((neighbor, tileVariant));
|
||||
AddLoadedTile(neighbor, tileVariant);
|
||||
tiles.Add((neighbor, _tile.GetVariantTile((ContentTileDefinition) tileDef, random)));
|
||||
index++;
|
||||
takenTiles.Add(neighbor);
|
||||
}
|
||||
@@ -121,13 +119,7 @@ public sealed partial class DungeonJob
|
||||
{
|
||||
var gridPos = _maps.GridTileToLocal(_gridUid, _grid, tile.Item1);
|
||||
|
||||
var uids = _entManager.SpawnEntitiesAttachedTo(gridPos, _entTable.GetSpawns(contents, random));
|
||||
|
||||
foreach (var uid in uids)
|
||||
{
|
||||
AddLoadedEntity(tile.Item1, uid);
|
||||
}
|
||||
|
||||
_entManager.SpawnEntitiesAttachedTo(gridPos, _entTable.GetSpawns(contents, random));
|
||||
await SuspendDungeon();
|
||||
|
||||
if (!ValidateResume())
|
||||
|
||||
Reference in New Issue
Block a user