Update Readme

This commit is contained in:
hyperion51 2020-03-23 02:31:26 +00:00
commit d4128befe2
2 changed files with 14 additions and 7 deletions

View file

@ -219,8 +219,9 @@ public class GalaxyEditor : Editor
}
RenderLinks();
}
if (GUILayout.Button("Save Star Links"))
if (GUILayout.Button("Save Star Data"))
{
galaxy.MapData.Stars = _stars.Select(s => new StarData {Position = s}).ToList();
foreach (var star in galaxy.MapData.Stars)
{
star.Links.Clear();