Pull up data field in metadata.
This commit is contained in:
@@ -19,9 +19,6 @@ namespace Cryville.Crtr {
|
||||
|
||||
[JsonRequired]
|
||||
public string ruleset;
|
||||
|
||||
[JsonRequired]
|
||||
public string pdt;
|
||||
|
||||
public List<string> frames = new List<string>();
|
||||
|
||||
@@ -29,7 +26,7 @@ namespace Cryville.Crtr {
|
||||
public PdtSkin Root { get; private set; }
|
||||
|
||||
public void LoadPdt(DirectoryInfo dir) {
|
||||
using (StreamReader pdtreader = new StreamReader(dir.FullName + "/" + pdt + ".pdt", Encoding.UTF8)) {
|
||||
using (StreamReader pdtreader = new StreamReader(dir.FullName + "/" + data + ".pdt", Encoding.UTF8)) {
|
||||
var src = pdtreader.ReadToEnd();
|
||||
Root = new SkinInterpreter(src, null).Interpret();
|
||||
}
|
||||
|
Reference in New Issue
Block a user