diff --git a/src/tilemap_foreground.cs b/src/tilemap_foreground.cs index 8396ae8..686faa7 100644 --- a/src/tilemap_foreground.cs +++ b/src/tilemap_foreground.cs @@ -20,7 +20,7 @@ public class tilemap_foreground : TileMap var instance = scene.Instance(); AddChild(instance); var node = GetNode(instance.GetPath()); - node.Position = allCells[i] * CellSize; //node has to be 2D and can't be centered + node.Position = allCells[i] * CellSize; //node has to be Node2D and can't be centered GD.Print(node); } }