Skip to content

Commit

Permalink
Fix a crash on importing anything.
Browse files Browse the repository at this point in the history
  • Loading branch information
kythyria committed Mar 19, 2020
1 parent d9b5160 commit 97b072b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PD2ModelParser/Modelscript/ScriptCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class Import : IScriptItem, IReadsFile
public string File { get; set; }
public ImportFileType? ForceType { get; set; }
public string DefaultRootPoint { get; set; }
public Dictionary<string, string> Parents { get; set; }
public Dictionary<string, string> Parents { get; set; } = new Dictionary<string, string>();
public Importers.IOptionReceiver ImporterOptions { get; set; }

public void Execute(ScriptState state)
Expand Down

0 comments on commit 97b072b

Please sign in to comment.