Skip to content

Commit b129f0f

Browse files
authored
Update __buildScripts.js
1 parent 1bffd5e commit b129f0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Workspace/Resources/__buildScripts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Workspace.newF("__buildScripts", function() { // function for building the works
1313
let name = file.replace(".unity", ""); // name of the script
1414
const script = new this.Script(name); // creates a new script typing
1515

16-
let data = fs.readFileSync(`${this.scriptDir}/${file}`, 'utf8'); // script data
17-
let meta = fs.readFileSync(`${this.scriptDir}/${file}.meta`, 'utf8'); // script metadata
16+
let data = fs.readFileSync(`${this.scriptsDir}/${file}`, 'utf8'); // script data
17+
let meta = fs.readFileSync(`${this.scriptsDir}/${file}.meta`, 'utf8'); // script metadata
1818

1919
script.translate(data, meta); // translates the scripts's metadata and data into usable JSON data
2020
this.scripts.push(name, script); // pushes the new script into the script group

0 commit comments

Comments
 (0)