diff --git a/scripts/map/MapGenerator.cs b/scripts/map/MapGenerator.cs index d134b21..347f4fb 100644 --- a/scripts/map/MapGenerator.cs +++ b/scripts/map/MapGenerator.cs @@ -405,7 +405,7 @@ public static class MapGenerator return false; } - var sprite = new Sprite2D(); + var sprite = new TextureRect(); sprite.Scale = new Vector2(Config.RoomPreviewScale, Config.RoomPreviewScale); sprite.Texture = image; sprite.Position = GameSceneDepend.MiniMapMidpointCoordinate + position.Value;