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
@@ -35,9 +35,7 @@ public sealed partial class DungeonJob
|
||||
if (reservedTiles.Contains(neighbor))
|
||||
continue;
|
||||
|
||||
var tile = _tile.GetVariantTile((ContentTileDefinition)tileDef, random);
|
||||
tiles.Add((neighbor, tile));
|
||||
AddLoadedTile(neighbor, tile);
|
||||
tiles.Add((neighbor, _tile.GetVariantTile((ContentTileDefinition) tileDef, random)));
|
||||
spawnPositions.Add(neighbor);
|
||||
}
|
||||
}
|
||||
@@ -47,12 +45,7 @@ public sealed partial class DungeonJob
|
||||
|
||||
foreach (var entrance in spawnPositions)
|
||||
{
|
||||
var uids = _entManager.SpawnEntitiesAttachedTo(_maps.GridTileToLocal(_gridUid, _grid, entrance), _entTable.GetSpawns(contents, random));
|
||||
|
||||
foreach (var uid in uids)
|
||||
{
|
||||
AddLoadedEntity(entrance, uid);
|
||||
}
|
||||
_entManager.SpawnEntitiesAttachedTo(_maps.GridTileToLocal(_gridUid, _grid, entrance), _entTable.GetSpawns(contents, random));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user