Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsonax committed Jun 25, 2020
1 parent 79e27dc commit 7407803
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Source/Editor/DualityEditor/DualityEditorApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public static bool IsFirstEditorSession
public static DualityProjectSettings ProjectSettings
{
get { return projectSettings; }
set { projectSettings = value ?? new DualityProjectSettings(); }
set { projectSettings = value ?? throw new ArgumentNullException($"You cannot assign null to {nameof(ProjectSettings)}"); }
}

public static bool BackupsEnabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ namespace Duality.Editor
{
public class DualityProjectSettings
{
/// <summary>
/// [GET] Returns the path where this DualityApp's <see cref="DualityProjectSettings">application data</see> is located at.
/// </summary>
public static string ProjectSettingsPath
{
get { return "ProjectSettings.dat"; }
}
private static readonly string ProjectSettingsPath = "ProjectSettings.dat";

private string launcherPath = "DualityGame.exe";
public string LauncherPath
Expand Down

0 comments on commit 7407803

Please sign in to comment.