Minimap bug fix
修复小地图错位问题
This commit is contained in:
parent
781c50ee30
commit
ab10d75b24
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user