Skip to content

Commit f12e557

Browse files
authored
Update __buildScripts.js
1 parent 0a67d6b commit f12e557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Workspace/Resources/__buildScripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Workspace.newF("__buildScripts", function() { // function for building the works
1010

1111

1212
scriptFiles.forEach( file => {
13-
let name = file.replace(".unity", ""); // name of the script
13+
let name = file.replace(".cs", ""); // name of the script
1414
const script = new this.Script(name); // creates a new script typing
1515

1616
let data = fs.readFileSync(`${this.scriptsDir}/${file}`, 'utf8'); // script data

0 commit comments

Comments
 (0)