Fixed content visibility and changed spawn creation

This commit is contained in:
=
2026-05-01 19:27:44 +02:00
parent 8a6de193a1
commit ae7c98d482
4 changed files with 21 additions and 10 deletions
-1
View File
@@ -78,7 +78,6 @@ public partial class Tile
public void SpawnContent(Dictionary<string, MeshInstance3D> contentMeshes, Transform3D transform, List<Placeholder> placeholders)
{
if(!wasVisited) return;
foreach (Placeholder placeholder in placeholders)
{
if (containsLight && placeholder.name == "light") SpawnLight(contentMeshes["light"], placeholder, transform);