Skip to content

Commit

Permalink
Merge branch 'feature-editor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdwldns00 committed Mar 27, 2024
2 parents ee63bb0 + 3a0dc3e commit dd5b8ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/MapFileConvertor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void GenerateFile()
string data = "[map]\nname=" + gameObject.name + "\nsize=" + mapSize.x + "," + mapSize.y + "\nportal=";
if (portalLinks.Length > 0)
{
data += portalLinks[0];
data += portalLinks[0].gameObject.name;
for (int i = 1; i < portalLinks.Length; i++)
{
data += "," + portalLinks[i].gameObject.name;
Expand Down

0 comments on commit dd5b8ad

Please sign in to comment.