Skip to content

Commit

Permalink
fix path bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Cliff committed Feb 24, 2019
1 parent feed7e5 commit 977482c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DarkScript 2/EventProject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@ public EventProject(string path, bool fromProject = true)
string[] text = File.ReadAllLines(path);
EmevdPath = text[0];
NumericText = string.Join(Environment.NewLine, text.Skip(1));
ProjectPath = EmevdPath + ".dscproj";
}
else
{
EmevdPath = path;
NumericText = ReadFile("-n \"" + EmevdPath + "\"");
ProjectPath = "";
}
ProjectPath = EmevdPath + ".dscproj";
}

public void SaveToProject()
Expand Down

0 comments on commit 977482c

Please sign in to comment.